Barnaby W. Füi
Elite Member
- Aug 14, 2001
- 12,343
- 0
- 0
Oops, haha, I didn't even look at the contents of the man page :Q
It's not even a (1), it's a (8)
It's not even a (1), it's a (8)
DESCRIPTION
script makes a typescript of everything printed on your terminal. It is
useful for students who need a hardcopy record of an interactive session
as proof of an assignment, as the typescript file can be printed out lat-
er with lpr(1).
#!/bin/sh
$2
sleep $1
$0 $1 $2
Originally posted by: BingBongWongFooey
That'll spawn a TON of shell instances. exec $0 $1 $2 wouldn't, I believe. Also, I can't figure out how to make it work with commands that have arguments.
Originally posted by: n0cmonkey
Originally posted by: BingBongWongFooey
That'll spawn a TON of shell instances. exec $0 $1 $2 wouldn't, I believe. Also, I can't figure out how to make it work with commands that have arguments.
It was a simple example.Shell scripting is one of the MANY MANY things I suck at.
Originally posted by: Sunner
Solaris doesn't have "watch".
I think it's Linux/GNU exclusive.
Originally posted by: Klixxer
Originally posted by: Sunner
Solaris doesn't have "watch".
I think it's Linux/GNU exclusive.
Watch works just fine on my Solaris box
Which version are you running?
Originally posted by: Sunner
Originally posted by: Klixxer
Originally posted by: Sunner
Solaris doesn't have "watch".
I think it's Linux/GNU exclusive.
Watch works just fine on my Solaris box
Which version are you running?
Tried on 7 and 9.
Originally posted by: Klixxer
Originally posted by: Sunner
Originally posted by: Klixxer
Originally posted by: Sunner
Solaris doesn't have "watch".
I think it's Linux/GNU exclusive.
Watch works just fine on my Solaris box
Which version are you running?
Tried on 7 and 9.
I have a 7 cvs box and it works just fine on it, have you installed it?
