![]() |
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 |
| Dynamically redirect output to duplicate files ??? | nsinha | Shell Programming and Scripting | 3 | 10-09-2007 07:04 AM |
| copy files dynamically from within a file | chiru_h | Shell Programming and Scripting | 1 | 08-21-2006 06:24 PM |
| Creating a line for printing | jhansrod | Shell Programming and Scripting | 3 | 06-17-2005 05:38 AM |
| dynamically creating a variable name | hsahay | Shell Programming and Scripting | 2 | 05-31-2005 12:36 PM |
| printing PDF files | abNORMal | UNIX for Dummies Questions & Answers | 4 | 05-20-2004 08:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Dynamically Creating and Printing to Files
Hello,
If anyone could help me out with this, it would be greatly appreciated. I am trying to dynamically create files and print to them. Here is the code I have to so far. thanks. if (n < 5000 ) { # do nothing } else { n = 0; filenum++; # out = ("out" filenum); } #Print out the xml to the standard output printf(" <Account>\n") >> out; # out should be a variable and a new file should be created and output to when the name of this variable changes. thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|