commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Handle any bad named file which contains ",',\n,\b,\t,` etc
Store the file name as null character separated list
find . -print0 >name.lst
and retrieve it using
read -r -d ""
find . -print0 >name.lst;
cat name.lst| while IFS="" read -r -d "" file;
ls -l "$file";
Set field separator char from command line.
Prints first, second and lsat columns.