I am using Solaris and csh.
In $home/test there are five files: a.txt, b.txt, c.txt, d.txt and e.txt.
If I run
% find $home/test/ -type f -print > ../filenames.txt
that file will look like:
/home/me/test/a.txt
/home/me/test/b.txt
…
/home/me/test/e.txt
I need to add ␣none after each line, so that I can use the text file as the input to another script. i.e.:
/home/me/test/a.txt none
…
/home/me/test/e.txt none
This simple problem is causing me issues.
findimplementation not supportprintfe.g.find $home/test/ -type f -printf '%p none\n'?find -printfis a GNU thing.