Search Results

Search: Posts Made By: Suryaaravindh
2,724
Posted By Suryaaravindh
Hi, Thanks very much for your answer:). I used...
Hi,
Thanks very much for your answer:). I used the following sed command which removes the blank spaces from the end of the line. sed 's/[ \t]*$//' file1.txt > file2.txt But the problem is that it...
2,724
Posted By Suryaaravindh
Remove the spaces at the end of a line starting from a fixed position
I want to remove the trailing spaces at the end of each line starting from a particular position(using ksh script). For example, in the attached file, I want to remove all the spaces starting from...
125,610
Posted By Suryaaravindh
Hi Scrutinizer, Thanks a lot for your...
Hi Scrutinizer,

Thanks a lot for your reply..the code works absolutely fine:)
125,610
Posted By Suryaaravindh
Hi Anchal, Thanks for your reply. I...
Hi Anchal,

Thanks for your reply.

I have attached a sample file for which I am trying to find out the length. I tried the same code you have sent. I am not getting the correct output. This...
125,610
Posted By Suryaaravindh
Find the length of each line in the file
Hi,

I want to find the length of each line(including all the characters, spaces etc.) in a file and check if all the lines are of same length using a ksh script. Please help. Thanks in advance.
15,926
Posted By Suryaaravindh
Substracting days from current date(K shell script)
Hi,

I want to subtract 'n' days from the current timestamp in a k shell script. Is there any inbuilt function to do it
or any workaround solution to get the date. And I want the output to be in...
Showing results 1 to 6 of 6

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