Am 03.07.2013 18:16, schrieb
smileso...@gmail.com:
> Hi all, I am new to Shell scripting. I want to write a script to
> create lot of entries as following pattern and create a file new1.txt
> with all the entries.
>
> new1 (h1,u1,d1) (junk1,u2,d2) (junk2,u3,d3)
> .....(junk1000,u1000,d1000)
>
> I am planning to write a recursion function to create the similar
> tuples. I dont know whether it is possible or not in shell script or
> is there a better way to write it? Can anybody help me writing a
> sample program for it? I tried it but could not succeed.