erast1@unix.cis.pitt.edu (Evan R Aussenberg) (02/19/91)
I can't get my lp interface (ISC) to print a file containing an ampersand ("&"). Heck, I think I tried most everything: lp file\&test :This works almost. I get mail about an lp error lp file\\\&test :Doesn't work at all. Command line error, can't find file 'file\&test' And, yes, I did have a file called "file&test" to play with. I looked at my printer interface file which is a real real simple version of the dumb printer interface... looks okay to me. Is there a way to do this, or will I have to rename my few files that have the "&" ? Thanks- Evan. PS- I didn't see this answered in the FAQ... -- Evan Ron Aussenberg erast1@unix.cis.pitt.edu IN%"erast1@pittunix" -- Evan Ron Aussenberg erast1@unix.cis.pitt.edu IN%"erast1@pittunix"
allbery@NCoast.ORG (Brandon S. Allbery KB8JRR) (02/23/91)
As quoted from <93430@unix.cis.pitt.edu> by erast1@unix.cis.pitt.edu (Evan R Aussenberg): +--------------- | I can't get my lp interface (ISC) to print a file containing | an ampersand ("&"). Heck, I think I tried most everything: +--------------- Try changing the model script so that all shell variables are double-quoted. The standard lp models are rather dumb about this. ++Brandon -- Me: Brandon S. Allbery VHF/UHF: KB8JRR on 220, 2m, 440 Internet: allbery@NCoast.ORG Packet: KB8JRR @ WA8BXN America OnLine: KB8JRR AMPR: KB8JRR.AmPR.ORG [44.70.4.88] uunet!usenet.ins.cwru.edu!ncoast!allbery Delphi: ALLBERY