How would I get awk to output the whole file name in ls -l
if some of the files have spaces in them. Usually, I can run this command:
If you still insist on the ls -l instead of find or other tools, here is my solution. It is not pretty and destructive:
ls -l | awk '{for (i = 1; i < 9; i++) $i = ""; sub(/^ */, ""); print}'