From: S Mathias
> $ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo
> "$a
>$ASDF"$(for i in {1..$a}; do printf "."; done)
> 65 hello.
> Why doesn't it print:
> 65 hello.
> What am i missing?
$ for i i
On Sun, Jan 2, 2011 at 2:27 PM, S Mathias wrote:
> $ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo
> "$a $ASDF"$(for i in {1..$a}; do printf "."; done)
> 65 hello.
> $
>
> Why doesn't it print:
> 65 hello.
On 1/2/11 4:27 PM, S Mathias wrote:
> $ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo
> "$a $ASDF"$(for i in {1..$a}; do printf "."; done)
> 65 hello.
> $
>
>
> Why doesn't it print:
> 65 hello.
>
>
>
> Wha
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo "$a
$ASDF"$(for i in {1..$a}; do printf "."; done)
65 hello.
$
Why doesn't it print:
65 hello.
What am i missing?
_
4 matches
Mail list logo