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 -->
#
2
(
permalink
)
06-22-2009
scottn
VIP Member
Join Date: Jun 2009
Location: Zürich, CH
Posts: 1,128
You could try:
Code:
awk '{sub( "-", " ", $2); print}' your_file
scottn
View Public Profile
Find all posts by scottn
Find scottn's past nominations received
Find scottn's present nominations given