3 ms·
The fact that filename can contain anything except NULL/slash is really pain. I often write a shell script that treats LF as separator but I know it's not good.
by fomine3 6y ago
The fact that filename can contain anything except NULL/slash is really pain. I often write a shell script that treats LF as separator but I know it's not good.
- enriquto 6y agofilenames are variable names. Choosing good filenames is the first step in writing a nice shell script in a situation that you control.
- brokenmachine 6y agoWhy not use null as a separator? I agree it's messy but not that hard. Just set IFS to null.