>>>>> "Aiza" == Aiza <[email protected]> writes:
Aiza> Wow do I feel stupid. You saw through my question to the underlying
problem
Aiza> causing the need to strip off that stuff. I just changed the command from
ls
Aiza> -l to ls -1 and got what I wanted in the first place.
I'm surprised how often -1 is used when not needed. ls is smart, and
automatically defaults to -1 if the output isn't a terminal. Consider
the difference between:
$ ls
and
$ ls | cat
Back in the day, before the boys at Berkeley added multicolumn output,
there was a concern that changing the format of `ls` would break a lot
of scripts, so they were careful to do it in a backward-compatible
mechanism.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"