Search Results

Search: Posts Made By: LJJ
4,457
Posted By LJJ
thank you :),
thank you :),
4,457
Posted By LJJ
/data/files/jlj > echo $0 -bash ...
/data/files/jlj > echo $0
-bash
/data/files/jlj > uname -a
SunOS ux562z3 5.10 Generic_150400-17 sun4u sparc SUNW,SPARC-Enterprise
4,457
Posted By LJJ
Thanks for the response it works for the '~'...
Thanks for the response it works for the '~' delimiter ., but for '|' this is appending from the front replacing the characters .

/data/files/jlj > nawk -v n=12 '{$n=$n}1' FS=\| OFS=\| dtd.dat >...
4,457
Posted By LJJ
/data/files/jlj > uname -a SunOS ux562z3 5.10...
/data/files/jlj > uname -a
SunOS ux562z3 5.10 Generic_150400-17 sun4u sparc SUNW,SPARC-Enterprise

---------- Post updated at 08:43 PM ---------- Previous update was at 08:39 PM ----------


...
4,457
Posted By LJJ
Hi R.Singh ., kindly help what does {val=val?val...
Hi R.Singh ., kindly help what does {val=val?val "~":"~";i++} does ?

---------- Post updated at 08:29 PM ---------- Previous update was at 08:24 PM ----------



Dear scott ., i tried the same...
4,457
Posted By LJJ
Hi All thanks for the response ., i'm bit...
Hi All thanks for the response .,

i'm bit surprised as none of the solns is producing the result is it because of the shell

trying some vague approach , please help
#The below gets the no...
4,457
Posted By LJJ
Delimiter appending in a data file if we receive a less columns than expected
Required No.of field = 12

Let say you got a “~” delimited input file and this file has 6 input fields and now I want to add 12-5=7 number of “~” into this input file in order to make it 12 fields...
Showing results 1 to 7 of 7

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