The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
where is the problem in my sed command....
.
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
:
where is the problem in my sed command....
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
04-20-2007
reborg
Administrator
Join Date: Mar 2005
Location: Ireland
Posts: 4,246
Code:
sed
's/^\([^ ][^ ]*\) \([^ ][^ ]*\)/\2 \1/' file > swapfile
reborg
View Public Profile
Find all posts by reborg
Find reborg's past nominations received
Find reborg's present nominations given