variable in loop
- From: S Mathias <smathias1972@xxxxxxxxx>
- Date: Sun, 2 Jan 2011 14:27:14 -0800 (PST)
$ 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?
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
- Follow-Ups:
- Re: variable in loop
- From: Rodolfo Alcazar Portillo
- Re: variable in loop
- From: Chris Tyler
- Re: variable in loop
- From: Sam Sharpe
- Re: variable in loop
- Prev by Date: Re: Viewing apple.com trailers
- Next by Date: ipv6 question
- Previous by thread: FC12 to FC14 : stat failed for the webserver over cifs
- Next by thread: Re: variable in loop
- Index(es):
Relevant Pages
|