![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To generate the FTP Script file | konankir | Shell Programming and Scripting | 1 | 04-01-2008 03:16 PM |
| Script to generate text file from excel file | isingh786 | UNIX for Dummies Questions & Answers | 1 | 01-24-2008 10:32 AM |
| generate new string from a text file | walterwaston | Shell Programming and Scripting | 6 | 10-16-2007 03:43 PM |
| Generate csv file | rahulrathod | Shell Programming and Scripting | 4 | 01-23-2007 10:34 AM |
| How to generate an image file from FD | Esteban | UNIX for Advanced & Expert Users | 1 | 12-22-2005 11:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
generate file incremented by 1
Hi
I a really need help. I got simply shell script which store result into the specific file in this case xxx_001.txt And after another run script I would like to create the same file but value 001 is incremented by 1 -> xxx_002.txt a so on. If I gonna use awk utility then result is not 002 but only 2, what is wrong. ------------------------------------------- #!/usr/bin/ksh file=xxx_001.txt echo "give me sth" >> $file ------------------------------------------ Thanks Mape |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|