[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Bash history
- Subject: [ale] Bash history
- From: smeadspam100 at speedfactory.net (W. Keith Miller)
- Date: Wed, 30 Nov 2005 07:44:38 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
!683
Note: this isn't always consitent across Unices.
Christopher Fowler wrote:
>Is there a trick to executing commands in the bash history.
>
># history | grep long_command
># exec 683
>
>
>I've written a perl script that takes the bash history as stdin and then
>executes the command
>
># history | /tmp/history.pl 683
>
>Works but not an elegant solution.
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
>
>