Search Results

Search: Posts Made By: Tux_Raju
3,208
Posted By Tux_Raju
i want ot write this inside a script. I want 0...
i want ot write this inside a script. I want 0 and 9 to repeat as many times as a variable which i specify. I mean if i say var=4; then i want two strings 0000 and 9999.
3,208
Posted By Tux_Raju
Generate a string
Hi,

I want to generate a string like 99999 or 00000 depending upon the number of zeros or nines.. that is if I say 9 then I need the string "9" as 999999999. if I say 4 zeros then i need to get a...
4,440
Posted By Tux_Raju
Thanks
Thanks mate that a was cool one... Thanks alot.. Yes it was to my requirement. Had to struggle around for that syntax actually.....
4,440
Posted By Tux_Raju
nawk command clarification
Hi,

I am using the following command.

nawk '$1==p{$2=sprintf("%09d",$2+1)};1' p=$JOB_NUM q=$LEN $VALUE_TABLE > ./TEMP_TABLE

As you can see the code above, I basically read a value from the...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 02:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy