![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Record count problem using sed command | ayanbiswas | UNIX for Dummies Questions & Answers | 2 | 07-02-2008 04:59 AM |
| Problem count with wc-l command | kunimi | UNIX for Dummies Questions & Answers | 2 | 02-26-2008 11:42 PM |
| command to get count in unzipped folder | arunkumar_mca | UNIX for Dummies Questions & Answers | 4 | 10-17-2007 11:19 AM |
| byte count and cut command | hemangjani | Shell Programming and Scripting | 4 | 04-12-2007 08:32 AM |
| command to count files in dir | balireddy_77 | Shell Programming and Scripting | 4 | 11-14-2006 09:56 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
ksch script to utilize UNIDATA count command.
I am working on a ksh script to pattern match on a file and then initialize a unidata session to allow me to see if the file is cleared or not. The problem i am having is that the code works but it executes a new unidata session multiple times.
I would build a paragraph but new WWW files are being added. What i have so far. cd $XMAIN/SYSTEM x=$(du -sm WWW* | awk '{print $2}');export x for var in $x do if [[ $var != "0" ]] then # echo $var cd $XMAIN $UDTBIN/udt << %END% UT.INIT EX COUNT $var QUIT %END% fi done |
|||
| Google UNIX.COM |
| Forum Sponsor | ||
|
|