The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Help with sed/substitution!
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Help with sed/substitution!
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
11-17-2008
Bandit390
Registered User
Join Date: Sep 2008
Posts: 19
Help with sed/substitution!
I have file.txt
Code:
1 4 7 9 3
I want to replace the tabs with a space, but my code doesn't work.
Code:
cat file.txt |
sed
's/"\t"/ /g' > t.txt
But file is still the same. Numbers seperated by tabs instead of spaces.
Help?
Bandit390
View Public Profile
Find all posts by Bandit390
Find Bandit390's past nominations received
Find Bandit390's present nominations given