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