a good way to save a keystroke?

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Fri Nov 21 18:11:19 PST 2003


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 $(which apachectl)
> Illegal variable name.
> FreeB
>
> Maybe I should've mentioned I'm on 4.8, or is there another reason?
>

Which shell are you using?

KDK



More information about the freebsd-questions mailing list