Craig White wrote: > On Thu, 2004-10-14 at 08:59, Josef Lowder wrote: > >>I agree. That was my point, also. I dislike clutter and also bloat. >>Curiously, ls -A | wc on my system yields 70 and ls -a | wc yields 72. >> >>I wonder why I get different results from ls -A and ls -a ? >>Is there an efficient syntax to string commands so I could do a 'diff' >>on these two listings (without listing each to a file to compare files) >>to see what the two additional files are? > > --- > from cli type > > info ls > > Craig > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > Since diff compares two files and there's only one stdin, you'd have to create at least one temp file for diff. ls -A >temp.list ls -a | diff - temp.list rm temp.list I'd expect that you'd get the same result from any directory! See man ls. -- -Eric 'shubes' "There is no such thing as the People; it is a collectivist myth. There are only individual citizens with individual wills and individual purposes." -William E. Simon (1927-2000), Secretary of the Treasury (1974-1977) "A Time For Truth" (1978), pg. 237 **************************************************** This message has been scanned using Contraxx Technology Group mail server v2.3 and is virus free. **************************************************** --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss