Re: [ilugd] Shell script help

2007-09-02 Thread Raj Mathur
On Monday 03 September 2007 11:22, Jay wrote: > [snip] > > Regards, > > > > -- Raju > > -- > > Raj Mathur[EMAIL PROTECTED] > > http://kandalaya.org/ Freedom in Technology & Software || September > > 2007 || http://freed.in/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 > > D0EF CC68

Re: [ilugd] Shell script help

2007-09-02 Thread Jay
On 9/1/07, Raj Mathur <[EMAIL PROTECTED]> wrote: > On Saturday 01 September 2007 09:57, Jay wrote: > > I am newbie to shell script programing. I was trying to write a > > script which will compile all the .cpp file in a folder as mention > > below: > > > > for f in *.cpp; do gc++ $f; done; > > mv *

Re: [ilugd] Shell script help

2007-09-01 Thread Alok G. Singh
On 1 Sep 2007, [EMAIL PROTECTED] wrote: > for f in *.cpp; do gc++ $f; done; > mv *.cpp /data/jay/success > mv *.out /data/jay/success You would probably be better served by using a Makefile to compile your code. I would certainly help when your programs are split over more than one compilation u

Re: [ilugd] Shell script help

2007-09-01 Thread Raj Mathur
On Saturday 01 September 2007 09:57, Jay wrote: > I am newbie to shell script programing. I was trying to write a > script which will compile all the .cpp file in a folder as mention > below: > > for f in *.cpp; do gc++ $f; done; > mv *.cpp /data/jay/success > mv *.out /data/jay/success > > And thi

[ilugd] Shell script help

2007-08-31 Thread Jay
Dear Group, I am newbie to shell script programing. I was trying to write a script which will compile all the .cpp file in a folder as mention below: for f in *.cpp; do gc++ $f; done; mv *.cpp /data/jay/success mv *.out /data/jay/success And this is working fine, but the issue is, if any .cpp fi