[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] 'sourcing' a file in BusyBox
From:       "Vladimir N. Oleynik" <dzo () simtreas ! ru>
Date:       2003-02-14 5:55:03
[Download RAW message or body]

Tom,

> Proabably the sourcing works fine but the aliases don't.
> 
> At least, on older ashes, I have to use functions instead of aliases.

Have you real test?
My test - works fine:

BusyBox v0.61.pre (2003.01.23-11:42+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

dzo@dzo:busybox-0.61pre 1$ alias rm="/bin/rm -i"
dzo@dzo:busybox-0.61pre 2$ alias
alias rm='/bin/rm -i'
dzo@dzo:busybox-0.61pre 3$ rm busybox.links
/bin/rm: remove `busybox.links'? y
dzo@dzo:busybox-0.61pre 4$ 

> > Is is possible to 'source' a file in BusyBox's ash shell?  That is, execute
> > commands in a file in the current shell.  (I want to set up some aliases
> > which
> > I am used to doing by '. ~/.alias' under BASH)


--w
vodz

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic