On Tue, May 01, 2001 at 03:04:41PM +0200, Iwan Mouwen wrote:
* Rob Mahurin [EMAIL PROTECTED] [010428 23:09]:
10:48 $ psselect -p _1 zeeman.ps /dev/null
[8] Wrote 1 pages, 86473 bytes
Shouldn't that be
psselect -p - file.ps /dev/null
instead?
[EMAIL PROTECTED]:~/tmp$
* Rob Mahurin [EMAIL PROTECTED] [010428 23:09]:
10:48 $ psselect -p _1 zeeman.ps /dev/null
[8] Wrote 1 pages, 86473 bytes
Shouldn't that be
psselect -p - file.ps /dev/null
instead?
[EMAIL PROTECTED]:~/tmp$ psselect -p _1 report.ps /dev/null
[11] Wrote 1 pages, 68447 bytes
[EMAIL
What's the fastest way to do this on the command line?
TIA
Stony
Hello Alexander,
* Alexander Steinert wrote:
What's the fastest way to do this on the command line?
I think there are more than thousand solutions ;-)
grep ^%%Pages file.ps|awk '{ print $2 }'
cya
Waldemar
--
* A good website for linuxsoftware:| (o_ *
*
On Fri, Apr 27, 2001 at 02:41:04PM +0200, Alexander Steinert wrote:
What's the fastest way to do this on the command line?
I do:
10:48 $ psselect -p _1 zeeman.ps /dev/null
[8] Wrote 1 pages, 86473 bytes
Rob
--
It seems to make an auto driver mad if he misses you.
On Sat, Apr 28, 2001 at 01:17:46PM +0200, Waldemar Brodkorb wrote:
Hello Alexander,
* Alexander Steinert wrote:
What's the fastest way to do this on the command line?
I think there are more than thousand solutions ;-)
grep ^%%Pages file.ps|awk '{ print $2 }'
any idea why this is 2x as
On Sat, Apr 28, 2001 at 07:15:37PM -0300, John R Lenton wrote:
grep ^%%Pages file.ps|awk '{ print $2 }'
any idea why this is 2x as fast as the equivalent
awk '/^%%Pages/ { print $2 }' file.ps
Because grep, being a compiled program, can do file I/O faster than
awk, which is interpreted.
7 matches
Mail list logo