On Sun, 17 Apr 2011, Fred James wrote:

> Not sure why the need for a "one-liner"?

Fred,

   There is no such 'need.'

> This bit of script (SH/BASH) extracts a list of files (excluding
> directories).  From there my approach would be to either ...
>   feed it to AWK

   I don't need a list of directories as I copied those files from the cdrom
disk to specific and known directories.

   I like the idea of using awk; for whatever the reason I did not see this
as the most parsimonious solution. I'm probably mistaken, but my
understanding is that sed would be used within a file to make changes
line-by-line, while awk can be fed by the 'ls' command.

Thanks,

Rich

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to