Re: any equivalent of "seq" command to generate ascii string sequence

Patrick Haller <[email protected]>
Newsgroups gmane.user-groups.linux.singapore
Message-ID <[email protected]>
On Wed, May 19, 2010 at 11:36:33AM +0200, Martin B?hr wrote:
>
> now, how would one create a hex sequence: 00 .. ff?

for i in $(seq 0 255) ; do printf "%02x\n" $i; done


Patrick

_______________________________________________
LUGS Mailing list - [email protected]
List FAQ: http://wiki.lugs.org.sg/LugsMailingListFaq
Info page: http://www.lugs.org.sg/mailman/listinfo/slugnet
To unsubscribe send an empty email to: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.