Simon Hobson wrote:
Interestingly, I tried [0-9]+ and it doesn't select anything, whereas
[0-9][0-9]* does. And now I see why VM\? failed, the \ was to escape
the ?, and I overlooked the meaning of ?
Anyway, I settled on '^[0-9][0-9]* VM[?]^M$' (where the ^M is a
return, not two characters) whi
Doug VanLeuven wrote:
print command = grep -v '^[0-9]* *VM\?' <%s >%s-2 ; rm %s ; lpr
-P%p -o raw %s-2
I read ^[0-9]* *VM\? as
match 0 or more occurances of a digit at the beginning of a line
match zero or more occurances of a space
match a V
optionally match one M (shell interpretive issues with
I read ^[0-9]* *VM\? as
match 0 or more occurances of a digit at the beginning of a line
match zero or more occurances of a space
match a V
optionally match one M (shell interpretive issues with backslash and ?)
3V)_ and 9VL@ both meet that criteria.
rather
^[0-9]+ +VM\\[?]
if you're looking for
0
At 2:57 am +1000 6/7/04, Alex Satrapa wrote:
What happens if you change the line to:
print command = grep -v '^[0-9][0-9]* *VM\?$' ...
Then I replied :
It would have to be '^[0-9][0-9]* *VM\?^M$', but it didn't seem to
match that. I think the chances of having a line that starts with
that pat
At 2:57 am +1000 6/7/04, Alex Satrapa wrote:
What happens if you change the line to:
print command = grep -v '^[0-9][0-9]* *VM\?$' ...
It would have to be '^[0-9][0-9]* *VM\?^M$', but it didn't seem to
match that. I think the chances of having a line that starts with
that pattern is pretty re
On 5 Jul 2004, at 19:13, Simon Hobson wrote:
At 10:32 am +1000 5/7/04, Alex Satrapa wrote:
[printers]
print command = grep -v '^[0-9]* *VM\?' <%s >%s-2 ; rm %s ;
lpr -P%p -o raw %s-2
What's this supposed to achieve? Looks to me like you're tampering
with the PostScript by removing any li
At 10:32 am +1000 5/7/04, Alex Satrapa wrote:
[printers]
print command = grep -v '^[0-9]* *VM\?' <%s >%s-2 ; rm %s ;
lpr -P%p -o raw %s-2
What's this supposed to achieve? Looks to me like you're tampering
with the PostScript by removing any line that starts with 'VM?'
optionally preceed
On 3 Jul 2004, at 19:13, Simon Hobson wrote:
[printers]
print command = grep -v '^[0-9]* *VM\?' <%s >%s-2 ; rm %s ;
lpr -P%p -o raw %s-2
What's this supposed to achieve? Looks to me like you're tampering
with the PostScript by removing any line that starts with 'VM?'
optionally preceede
We are having great problems printing from XP clients through our
Samba server. We are using the Adobe PS driver, and are configured
for automatic driver download/install from the server. Samba is
2.2.8a and part of a Suse OpenExchange server, printing is through
CUPS. Printers are an assortmen