View Single Post
Old 12-10-2011, 03:30 PM   #2
ryran
Connoisseur
ryran plays well with othersryran plays well with othersryran plays well with othersryran plays well with othersryran plays well with othersryran plays well with othersryran plays well with othersryran plays well with othersryran plays well with othersryran plays well with othersryran plays well with others
 
Posts: 79
Karma: 2718
Join Date: Aug 2011
Device: Kindle 3G
Slightly OT: I know you probably don't really care, but who knows--it might come in handy some day, so.... for future ref, BASH can do number & character generation via curly-bracket statements, e.g., you can replace the numbers & letters in each of your for loops with {0..9} {a..f}.

(PS: Number generation has been around for a while, but character-generation might have been added in bashV4.)
ryran is offline   Reply With Quote