Re^2: type discriminating directory listing
Maarten Litmaath
maart at cs.vu.nl
Fri May 12 07:37:05 AEST 1989
jdpeek at RODAN.ACS.SYR.EDU (Jerry Peek) writes:
\...
\ ls -F | grep '[/@]$'
\When you feed BSD "ls" into a pipe, it doesn't print the filenames in
\columns; that's good for this test but it looks lousy on the screen if
\there are lots of filenames. A kludge for that looks like this:
\ ls -F | grep '[/@]$' | pr -4 -l1 -t
ls -CF | grep ...
--
"`Goto considered harmful' considered |Maarten Litmaath @ VU Amsterdam:
harmful" considered harmful! |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.unix.questions
mailing list