maart@cs.vu.nl (Maarten Litmaath) (05/13/89)
tale@pawl.rpi.edu (David C Lawrence) writes: \jdpeek@RODAN.ACS.SYR.EDU (Jerry Peek) writes: \\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 \In article <2508@star.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes: \ML> ls -CF | grep ... \This is the second posting that said "so use ls -C". [text explaining the incorrectness deleted] Thanks David. However, I posted the follow-up just to show that BSD "ls" CAN print to a pipe in columns. Of course I should have noticed the `bug'. -- "`Goto considered harmful' considered |Maarten Litmaath @ VU Amsterdam: harmful" considered harmful! |maart@cs.vu.nl, mcvax!botter!maart