[GLLUG] Grep or ls or tail or something

Mike Szumlinski szumlins@msu.edu
Mon, 28 Jan 2002 00:28:33 -0500


Okay, the third one worked perfectly. Thanks.

Now, could you do myself and probably a couple other people on the list a
favor and tell me what the hell all the slashes and brackets mean in this?

-Mike

On 1/26/02 1:58 AM, "Ben Pfaff" <blp@cs.stanford.edu> wrote:

> 
> Perhaps
>       find . -type f -print0 | xargs -0 ls -Q
> or maybe
>       find . -type f | sed 's/\(.*\)/"\1"/;'
> or
>       find . -type f | sed 's/\([^./a-zA-Z0-9_-]\)/\\\1/g;'

-=--===---===---===---===-=-
|Mike Szumlinski           |
|Michigan State University |
-=--===---===---===---===-=-
"I need a job. Hire me"