[Samba] Typo in Samba HOWTO collection example 19.2

Robin Munn rmunn at pobox.com
Sat Nov 6 21:32:34 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Since the samba-docs mailing list is closed, I figured this was the best
place to post this.

I believe there's a typo in example 19.2 ("Overriding global CUPS
settings for one printer") of the official Samba HOWTO collection. The
"print command" parameter in the [special_printer] section contains
several echo commands, separated by semicolons, followed by an rm
command separated from the echo commands by a colon. I believe that last
colon should be a semicolon. In other words, this is what I currently
see at
http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/CUPS-printing.html#overridesettings

~ print command = echo "NEW: `date`: printfile %f" \
|> /tmp/smbprn.log ; \
echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; \
echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log : rm %f

And this is what I think it should be:

~ print command = echo "NEW: `date`: printfile %f" \
|> /tmp/smbprn.log ; \
echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; \
echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f

(The last colon has been replaced by a semicolon).

It's minor, and the example is not likely to be used very often, but I
thought it was worth correcting.

- --
Robin Munn
rmunn at pobox.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBjULy6OLMk9ZJcBQRArylAJ97+kod/b+Mli4RYO4TE1Z3o2k6ewCeOmSy
Vx1v0MSx9xCTQewEMGN+hRM=
=FXdw
-----END PGP SIGNATURE-----


More information about the samba mailing list