Typically, commands like 'find' will generate partial filenames when fed
partial filenames, as:
find slug/admin/* -xtype f
which might yield:
slug/admin/first
slug/admin/second
slug/admin/third
Most of the file commands I'm aware of do this.
Does anyone know of a simple way to expand such names into their full
filenames, like:
/home/paulf/slug/admin/first
/home/paulf/slug/admin/second
/home/paulf/slug/admin/third
I want to avoid perl and python, and preferably use bash commands and
other commonly found utilities like awk, sed, grep, etc. I wrote a
utility to do this a while back, but it has to recurse in order to work,
and I'd like to avoid that as well.
Paul
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:54:11 EDT