On Mon, 19 Jun 2000, SoloCDM wrote:

> Is it possible to make an alias substitute an item into its command as
> in the following:
> 
>       $ alias cdl='cd ~/$@'
>       $ cdl nsmail/Administrator.sbd

For bash scripts you will need to use a function as follows...

        $ function cdl { cd ~/$@ }

-- 
 ======================================================================
<>   Carey F. Cox, PhD             |  PHONE: (409) 880-8770           <>
<>   Assistant Professor           |  FAX:   (409) 880-8121           <>
<>   Dept. of Mech. Eng.           |  EMAIL: [EMAIL PROTECTED]  <>
<>   Lamar University              |  WEB:   N/A                      <>
 ======================================================================


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to