![]() |
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 |
| Setting vi indentation to k&r style? | kermit | UNIX and Linux Applications | 2 | 12-26-2008 09:04 PM |
| Emacs line indentation | Rledley | High Level Programming | 2 | 11-18-2008 01:03 PM |
| perl: printf indentation problem | wolwy_pete | Shell Programming and Scripting | 5 | 03-27-2008 08:09 PM |
| A question of indentation | Michael Iatrou | High Level Programming | 1 | 12-23-2006 05:29 PM |
| FTP script for sending a file from one unix directory to another unix server director | raja_1234 | Shell Programming and Scripting | 1 | 11-30-2006 07:57 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Regarding indentation using unix script
I have piece of Informatica code in a file as :
IIF(substr(flag,0,2)=1,false,IIF(flag= 1 ,0,NULL)) Please provide me with idea how to write a unix script which reads this file and write indented code into another file. The output in the second file should look as: IIF(substr(flag,0,2)=1, ----false, ----IIF(flag= 1 , -------0, -------NULL -------) ---) The same script should work for any number of IF loops and thus proper indentation should be taking place ------ denotes spaces Thanks for the help in advance |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|