David A. Wheeler personal blog
Filenames and pathnames in shell: How to do it correctly (2020)
This article explains how to correctly handle filenames in Bourne shells (the primary shell of Unix/Linux/POSIX systems), based on the issues discussed in 'Fixing Unix/Linux/Filenames'. Many programs fail to work properly on filenames that include spaces, begin with dash (-), include newlines, and so on, because…
- Points
- 219
- HN comments
- 149
- Submissions
- 2
- Cited by
- 11 commenters
Software EngineeringSystems & Performance2023
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jun 19, 2023 | Filenames and pathnames in shell: How to do it correctly (2020) by ingve | 219 | 129 |
| Feb 9, 2015 | Filenames and Pathnames in Shell: How to Do It Correctly (2010) by thefox | 85 | 20 |
Cited in comments
Linked from 13 Hacker News comments by 11 different people, from Aug 2014 to Aug 2023.
Most recent:
- jodrellblank · Aug 30, 2023
- Anthony-G · Jun 20, 2023
- dwheeler · Jun 23, 2018
- dwheeler · Mar 3, 2017
- l0b0 · Jul 17, 2016