Re: how to write this simple script command?
- From: www <www@xxxxxxxxxx>
- Date: Thu, 31 Jan 2008 13:58:52 -0500
Keith Keller wrote:
Thank you. I just tried yours. It works. I like yours. It is the best.
Why generate a temp file at all?
#!/bin/bash
a2ps --output=- $1 | ps2pdf - > $1.pdf
Sadly, you still need $1, since ps2pdf can't figure out the filename if
it's sent stdin.
--keith
.
- References:
- how to write this simple script command?
- From: www
- Re: how to write this simple script command?
- From: Lew Pitcher
- Re: how to write this simple script command?
- From: www
- Re: how to write this simple script command?
- From: Keith Keller
- how to write this simple script command?
- Prev by Date: Discover rogue wireless APs?
- Next by Date: Re: tv card sound problem (pv951, bttv)
- Previous by thread: Re: how to write this simple script command?
- Next by thread: /bin/bash: bad interpreter: Text file busy
- Index(es):
Relevant Pages
|