A Unix directory may be implemented as a file with one entry per file, but that doesn't necessarily equate to one line of a text file. The precise format of the file is a low-level implementation detail and I doubt it would be the same on all variants of Unix. If I type cat . on HP-UX I just get gibberish, containing recognisable filenames plus a load of binary stuff - and no line-ends.
In reply to Re: diamond operator question
by muntfish
in thread diamond operator question
by Tomtom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |