on Mon, 01 Dec 2003 05:05:30PM -0500, Derrick 'dman' Hudson insinuated: > On Sun, Nov 30, 2003 at 06:56:36PM -0500, Nori Heikkinen wrote: > | i haven't used my printer in a bit, but usually it's just fine. but > | now, trying to print a letter, i find that some mysterious print queue > | appears to be full. i /etc/init.d restart lpd several times, making > | sure there are no zombies; i lprm *; yet whenever i turn on the > ^^^^^^ > Not going to work. Things like '*' are shell metacharacters. This > means the _shell_ is the one that handles expanding them into their > actual meaning. Thus "lprm *" in a directory containing files foo > and bar is the same as typing "lprm foo bar". Unless print jobs > with ids "foo" and "bar" exist, that doesn't do what you meant. > Instead, type 'lpstat' (or 'lpq') and see what job ids exist. Then > 'lprm' those particular ids. If you want to get fancy, then you > could devise a pipe from lpq to lprm which would remove all jobs > automatically.
good point -- but i was abbreviating, and forgot that the shell '*'
didn't expand in that context.
lpq is totally empty, but still it prints garbage.
</nori>
--
.~. nori @ sccs.swarthmore.edu
/V\ http://www.sccs.swarthmore.edu/~nori/jnl/
// \\ @ maenad.net
/( )\ www.maenad.net
^`~'^
*------------------------------------------------------------------------*
* http://www.aidsmarathon.com/participant.asp?runner=DCNO-3267&year=2003 *
*------------------------------------------------------------------------*
* Please help me raise money for AIDS as I train for *
* the Whitman-Walker AIDS Marathon! *
*------------------------------------------------------------------------*
pgp00000.pgp
Description: PGP signature

