Igor Pechtchanski wrote:
> If I guessed correctly at what you're trying to accomplish (create aliases
> *in your current shell* to duplicate cmd.exe's syntax for switching
> drives; not at all obvious from the above description), and how you're
> doing it (from the inside of a bash *script*), you
On Sun, 7 Dec 2003 [EMAIL PROTECTED] wrote:
> Hi,
>
> I tried to run the following bash script:
>
> for drive in a b c d e f g h i j k l m n o p q r s t u v w x y z
> do
>alias ${drive}:="cd /cygdrive/${drive}"
> done
>
> I guess, the syntax for the loop is okay, if I replace the alias line wi
At 07:57 PM 12/6/2003, [EMAIL PROTECTED] you wrote:
>Hi,
>
>I tried to run the following bash script:
>
>for drive in a b c d e f g h i j k l m n o p q r s t u v w x y z
>do
> alias ${drive}:="cd /cygdrive/${drive}"
>done
>
>I guess, the syntax for the loop is okay, if I replace the alias line wi
Hi,
I tried to run the following bash script:
for drive in a b c d e f g h i j k l m n o p q r s t u v w x y z
do
alias ${drive}:="cd /cygdrive/${drive}"
done
I guess, the syntax for the loop is okay, if I replace the alias line with a
simple echo command:
echo $drive
I get
a
b
...
and so
4 matches
Mail list logo