Re: a good way to save a keystroke?

2003-11-22 Thread Marty Landman
At 09:11 PM 11/21/2003, Kevin D. Kinsey, DaleCo, S.P. wrote: Which shell are you using? C shell. Maybe I should switch to Bash? I mostly ssh in using my user acct and then have at least one screen session where I su to root. However to the extent that I'd like to write shell scripts that are

Re: a good way to save a keystroke?

2003-11-22 Thread Luke Kearney
On Sat, 22 Nov 2003 09:44:30 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: At 09:11 PM 11/21/2003, Kevin D. Kinsey, DaleCo, S.P. wrote: Which shell are you using? C shell. Maybe I should switch to Bash? I mostly ssh in using my user acct and then have at least

Re: a good way to save a keystroke?

2003-11-22 Thread Marty Landman
At 10:39 AM 11/22/2003, Scott W wrote: I know there are some people that refuse to use anything other than csh/tcsh, but when it comes down to writing shell scripts going out to customers, or part of any software, you write for sh.or if Linux only, for bash. Why can't we all just get

a good way to save a keystroke?

2003-11-21 Thread Marty Landman
I wanted to look at a file and figured why not pipe the output of which to more, which of course didn't work so I figured if I backticked the which output with more in front that would work, and apparently it does (though I'm not sure that the cmd itself wasn't executed?). e.g. more `which

Re: a good way to save a keystroke?

2003-11-21 Thread Jake Stride
On Friday, Nov 21, 2003, at 16:44 Europe/London, Marty Landman wrote: I wanted to look at a file and figured why not pipe the output of which to more, which of course didn't work so I figured if I backticked the which output with more in front that would work, and apparently it does (though

Re: a good way to save a keystroke?

2003-11-21 Thread Ceri Davies
On Fri, Nov 21, 2003 at 11:44:22AM -0500, Marty Landman wrote: I wanted to look at a file and figured why not pipe the output of which to more, which of course didn't work so I figured if I backticked the which output with more in front that would work, and apparently it does (though I'm

Re: a good way to save a keystroke?

2003-11-21 Thread Scott W
Marty Landman wrote: I wanted to look at a file and figured why not pipe the output of which to more, which of course didn't work so I figured if I backticked the which output with more in front that would work, and apparently it does (though I'm not sure that the cmd itself wasn't

Re: a good way to save a keystroke?

2003-11-21 Thread Marty Landman
At 08:40 PM 11/21/2003, Scott W wrote: So yep, it's doing what you want, the way you wanted to...use something similar fairly often myself, although note that the 'current' standard for executing commands is now $(cmd), eg more $(which apachectl) I get FreeB more $(which apachectl) Illegal

Re: a good way to save a keystroke?

2003-11-21 Thread Scott W
Marty Landman wrote: At 08:40 PM 11/21/2003, Scott W wrote: So yep, it's doing what you want, the way you wanted to...use something similar fairly often myself, although note that the 'current' standard for executing commands is now $(cmd), eg more $(which apachectl) I get FreeB more

Re: a good way to save a keystroke?

2003-11-21 Thread Robin Schoonover
On Fri, 21 Nov 2003 21:04:43 -0500, Scott W [EMAIL PROTECTED] wrote: Marty Landman wrote: At 08:40 PM 11/21/2003, Scott W wrote: So yep, it's doing what you want, the way you wanted to...use something similar fairly often myself, although note that the 'current' standard for

Re: a good way to save a keystroke?

2003-11-21 Thread Kevin D. Kinsey, DaleCo, S.P.
Marty Landman wrote: At 08:40 PM 11/21/2003, Scott W wrote: So yep, it's doing what you want, the way you wanted to...use something similar fairly often myself, although note that the 'current' standard for executing commands is now $(cmd), eg more $(which apachectl) I get FreeB more