Search Results

Search: Posts Made By: p.akhilreddy4u
4,951
Posted By p.akhilreddy4u
Thanks for the quick reply..Its working fine.
Thanks for the quick reply..Its working fine.
4,951
Posted By p.akhilreddy4u
Replace backslash at the end of the string using sed command
I have text file which is a tab delimited one. Sample data from the file is shown below:


unix is\ great\ os
linux\ is superb


I want to replace that backslash with empty...
1,787
Posted By p.akhilreddy4u
Run this on the below data. Heading 1 ...
Run this on the below data.


Heading
1
2
Heading
3
4
Test Heading
5


Just a small change to the grep

x=`head -1 inputfile`; echo $x; cat inputfile | grep -v ^$x$

Thanks,
A
Forum: Open Source 12-12-2011
354,406
Posted By p.akhilreddy4u
I started with vi and later used vim
I started with vi and later used vim
Showing results 1 to 4 of 4

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