-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Sergey Ivanov on 12/2/2009 6:12 PM:
> Have a script:
> #!/usr/bin/bash
> f="$(ls $1)"
The quotes around $(), while nice for consistency, are not strictly
necessary (since $() forms a word without quoting, and variable assignment
is not su
On 12/02/2009 08:20 PM, Sergey Ivanov wrote:
Have a script:
#!/usr/bin/bash
f="$(ls $1)"
for v_file in "$f"; do
echo $v_file
done
named FileGroupContentsChange.sh.
Twos things do not work as they should. By order:
1) Output in command line for nest commands
ls /cygdrive/d/install/buf/*.html
Have a script:
#!/usr/bin/bash
f="$(ls $1)"
for v_file in "$f"; do
echo $v_file
done
named FileGroupContentsChange.sh.
Twos things do not work as they should. By order:
1) Output in command line for nest commands
ls /cygdrive/d/install/buf/*.html
dir /cygdrive/d/install/buf/*.html
is same:
/
3 matches
Mail list logo