Re: Reducing KODRETRY
Joseph Tam <[email protected]>
| Newsgroups | gmane.mail.pine.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 23 Dec 2006, Steven W. Orr wrote:
> pine ()
> {
> jobs -ls pine > /dev/null && fg || \pine
> }
>
> which is small enuff that you could even get it into an alias...
>
> alias pine='jobs -ls pine > /dev/null && fg || \pine'
Brilliant! Too bad I'm using tcsh: I'm coming to the conclusion I really should
be using another shell like bash which doesn't have a brain-dead way of handling
built-in commands. Try as I might, I can't test the exit code, nor pipe from,
"fg %pine" in tcsh, rendering all these methods useless.
Joseph Tam <[email protected]>
_______________________________________________
Pine-info mailing list
[email protected]
http://mailman1.u.washington.edu/mailman/listinfo/pine-info