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

Martin Bähr <mbaehr-J82dVEKiPgVsIEQYbtjsvCEcasqEdqbRs2V0tQ3P5b8@public.gmane.org>
Newsgroups gmane.user-groups.linux.singapore
Message-ID <[email protected]>
On Wed, May 19, 2010 at 04:38:52PM +0800, M K Saravanan wrote:
> Never realized that we can do this with echo.

it's not the echo command, but the shell (bash 3.2 and above i guess and
maybe other shells like zsh too (not tested))

try 
touch {a..d}{e..g}
or
for i in {a..d}{e..g}; do echo $i; done

now, how would one create a hex sequence: 00 .. ff?

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
searching contract jobs:  programming, training and administration - anywhere
--
pike programmer      working in china                   community.gotpike.org
foresight developer  (open-steam|caudium).org              foresightlinux.org
unix sysadmin        iaeste.at                                     realss.com
Martin Bähr          http://www.iaeste.or.at/~mbaehr/            is.schon.org

_______________________________________________
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.