
-----------------------------------
jamonathin
Mon Oct 08, 2007 3:37 pm

Incrementing in Unix
-----------------------------------
Hey all, im having the damnest time trying to figure out how to do something like

int c = 0;
c++;

in csh.

I've been looking everywhere and i cant get anything to work =/

-----------------------------------
OneOffDriveByPoster
Mon Oct 08, 2007 7:08 pm

Re: Incrementing in Unix
-----------------------------------
I've been looking everywhere and i cant get anything to work =/
man csh  :)

#!/bin/csh
set c=0
@ c++
echo $c

-----------------------------------
jamonathin
Tue Oct 09, 2007 2:00 pm

Re: Incrementing in Unix
-----------------------------------
g'ah! thanks man
