I have about 30 docs to print -- so I wanted to use the command line, no big deal. Moving, copying, etc. no problem, but printing seems to be a problem. Here's my line
max@manatawny: ~/Desktop/Festko?^?rperphysik >> foreach file ( blatt08.pdf t11.pdf )
foreach -> lpr "blatt08.pdf"
foreach -> end
lpr: unable to print file: client-error-not-found
lpr: unable to print file: client-error-not-found
Obviously, the variable is a dummy, I get the same error when inserting ?lpr $file'. Why is that?
I have tried quotes (single and double), the mv and echo commands also work in the same loop. Where is the problem? (Of course, I can print from the plain command line.)