The UNIX and Linux Forums
>
Operating Systems
>
Linux
awk/sed for splitting a field into two
.
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
:
awk/sed for splitting a field into two
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
06-23-2009
sire
Registered User
Join Date: Jun 2009
Posts: 2
awk/sed for splitting a field into two
Many thanks scottn! It worked perfectly.
Quote:
Originally Posted by
scottn
You could try:
Code:
awk '{sub( "-", " ", $2); print}' your_file
sire
View Public Profile
Find all posts by sire
Find sire's past nominations received
Find sire's present nominations given