Yes, as i wrote to Eric...
Further, i have used find . -print to do the same thing, however, i really like having the absoulte path in outputs such as ls -ltr, and i could not see a way to get find to do this. ----- [EMAIL PROTECTED]:/export/home/jackyl $ ls -ltrZ total 7882 -rw-r--r-- 1 jackyl spuser 1181 May 31 19:13 /export/home/jackyl/pulprof -rw-r--r-- 1 jackyl spuser 136 May 31 19:13 /export/home/jackyl/local.cshrc -rw-r--r-- 1 jackyl spuser 157 May 31 19:13 /export/home/jackyl/local.login -rw-r--r-- 1 jackyl spuser 174 May 31 19:13 /export/home/jackyl/local.profile -rw-r--r-- 1 jackyl spuser 871 May 31 19:13 /export/home/jackyl/test.pl -rw------- 1 root root 36 Jun 4 14:04 /export/home/jackyl/dead.letter drwx------ 2 jackyl spuser 512 Jun 5 08:57 /export/home/jackyl/Mail drwxr-xr-x 2 jackyl spuser 512 Jun 11 11:09 /export/home/jackyl/Documents drwxr-xr-x 2 jackyl spuser 512 Jun 11 11:09 /export/home/jackyl/Desktop -rw------- 1 jackyl spuser 8048830 Jun 14 20:40 /export/home/jackyl/core -- goesh On Thu, June 15, 2006 10:37, Bob Proulx wrote: > Eric Blake wrote: >> goesh wrote: >> > I modified the source code for ls.c to add a new switch [-Z], which >> shows >> > the abosulte full path with each item printed. This has been very >> > useful for me, especially when combined with -1R. Just wondering if >> > you would like my source updates to ls.c. >> ... >> Also, have you looked into the find utility, part of the findutils >> package? It can already do what you are looking for, which is >> recursively printing filenames with absolute paths. > > In particular since you say 'ls -Z -1R' I think that would be the same > as 'find $PWD'. Could you try that and see if it already meets your > needs? > > find $PWD > > But I have to note that to be strictly posix portable I think that > really should be: > > find $(pwd) > > Bob > This email was sent from goesh.us. goesh.us _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
