On 2007-05-16, Karl E. Jorgensen <[EMAIL PROTECTED]> wrote:
>> This was the only way I could figure out to loop from A to H. But
>> since it works on hex escape codes, it won't work past 9. Is there a
>> cleaner, more general way to do this?
>
> I think there is:
>
> #!/bin/bash
>
> ( cat <<!
> A aest_90
> B bush_90
> C carol_90
> D comp_90
> E hirs_90
> F roan_90
> G swan_90
> H vir_90
> !
> ) | while read letter name
> do
>     printf '%s\n%s\n%s.ps\n\n' "$letter" "$name" "$name"
> done
>
> Hope this helps
>

Very much! That's perfect.

Cheers,

Tyler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to