Search Results

Search: Posts Made By: sudhagk
6,448
Posted By sudhagk
Thanks for the Resolution. It worked :)
Thanks for the Resolution. It worked :)
6,448
Posted By sudhagk
Too Many Arguments Error - shells script
Hi,

I am getting the below error

: [: too many arguments error at the if condition start and when I print the

value of TEST, it displays two values as below
/home/xyz/out/file1.txt ...
1,548
Posted By sudhagk
cat -Ev XYZ20130329164001.txt ...
cat -Ev XYZ20130329164001.txt
10014263800000000000000075203130000000000075Y22 ^M$
10010976500000000000009000103130000000590808Y22 ^M$
10010664200000000000007877103130000002462223Y22 ^M$


After...
1,548
Posted By sudhagk
I executed the command cat -Ev...
I executed the command cat -Ev XYX20130329164001.txt and below is what is displayed.
10014263800000000000000075203130000000000075Y22 ^M$
10010976500000000000009000103130000000590808Y22 ^M$...
1,548
Posted By sudhagk
I tried it with all the commands mentioned but...
I tried it with all the commands mentioned but the tmp file generated still has the new line. Can you please assist.
1,548
Posted By sudhagk
Thank you very much Yoda. I am quite new to Unix...
Thank you very much Yoda. I am quite new to Unix and I want to remove the blank line and move it to the XYZDIR. When i run this the old file(with line char) is moved. How do I change it to move the...
1,548
Posted By sudhagk
Remove Line Return from the File
Hi,

I have an output file like this and after the third record a blank line is getting displayed and i want to remove that. I have been looking at the forums and was trying sed and tr options but...
Showing results 1 to 7 of 7

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