home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!news
- From: woody@cs.utexas.edu (James Woodgate)
- Newsgroups: comp.os.linux
- Subject: Re: lp or something like it?
- Date: 21 Jul 1992 13:47:08 -0500
- Organization: CS Dept, University of Texas at Austin
- Lines: 28
- Message-ID: <l6omtcINN5g4@priddy.cs.utexas.edu>
- References: <kBN8NB4w165w@ssg.com>
- NNTP-Posting-Host: priddy.cs.utexas.edu
- Summary: Bash script
-
- In article <kBN8NB4w165w@ssg.com> unixsys@ssg.com (Rick Emerson) writes:
- > WARNING Newbie question WARNING
- >
- >Er, what print spoolers are available and/or distributed with mcc-interim?
- >
- >Rick "tired of ALT-f4 login cd /home/base cp foo /dev/lp2" Emerson
- >
- I use a bash script, to print in the background:
-
- #Bash script
- cat < $1 > /dev/lp1 &
-
- call this file lp, chmod +x lp, and use...
- >lp foo
-
- I had hoped to just have an alias for this, but bash wants
- to execute $1, instead of just useing(sp???) it for a data file.
-
- Another Newbie Question!! :D
-
- How can I make this script a Bash Alias???
-
-
- --
- -----------------------------------------------------------------------
- -.sig temporarily under construction-
-
- Address: woody@cs.utexas.edu
-