[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] history command in script
- Subject: [ale] history command in script
- From: deepbsd at earthlink.net (David S. Jackson)
- Date: Tue, 12 Mar 2002 12:33:18 -0500
I had a tiny script:
echo "Do you want the full argument or just the base command?"
if echo $answer | grep -i y ; then
history 1000 | tr -s " " | cut -d " " -f3- | sort | uniq -c |sort -r | less
history 1000 | cut -d' ' -f5 | sort | uniq -c | sort -r | less
But "history" doesn't seem to get executed. Is that because it's
a builtin? Why should that make a difference? Is there another
reason why "history" doesn't get executed?
David S. Jackson dsj at dsj.net
For my birthday I got a humidifier and a
de-humidifier... I put them in the same room and
let them fight it out. -- Steven Wright
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.