The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Removing certain characters in a file
.
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
:
Removing certain characters in a file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
04-25-2008
in2nix4life
Registered User
Join Date: Oct 2007
Location: East Coast
Posts: 58
You can use '
sed
' to remove all the ';' from the file:
sed
-i.bkup -e 's/;//g' file.txt
Hope this helps.
in2nix4life
View Public Profile
Find all posts by in2nix4life
Find in2nix4life's past nominations received
Find in2nix4life's present nominations given