Page 2 of 2
<
1
2
Show 50 post(s) from this thread on one page
LinuxQuestions.org
(
/questions/
)
-
Linux - Newbie
(
https://www.linuxquestions.org/questions/linux-newbie-8/
)
- -
linux rename multiple files to same suffix
(
https://www.linuxquestions.org/questions/linux-newbie-8/linux-rename-multiple-files-to-same-suffix-730689/
)
ghostdog74
06-10-2009 03:37 AM
Quote:
Originally Posted by
Disillusionist
(Post 3568910)
Code:
i=1
...
i=$(expr $i + 1)
..
bash has its own internal addition (see chrism01's post). no need to call external expr.
Disillusionist
06-10-2009 04:27 AM
Quote:
Originally Posted by
ghostdog74
(Post 3568918)
bash has its own internal addition (see chrism01's post). no need to call external expr.
That's what happens with growing up on Ksh ;)
rikxik
06-10-2009 11:20 PM
Quote:
Originally Posted by
Disillusionist
(Post 3568955)
That's what happens with growing up on Ksh ;)
Don't blame ksh !! ;) It works in ksh too:
Code:
$ echo $0
-ksh
$ i=10 ; i=$((i+1)); echo $i
11
All times are GMT -5. The time now is
07:38 PM
.
Page 2 of 2
<
1
2
Show 50 post(s) from this thread on one page