The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
sed for this awk 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
:
sed for this awk command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
01-26-2008
wisher115
Registered User
Join Date: Sep 2006
Posts: 18
sed for this awk command
Hi what would be the
sed
equivalent of this awk command:
awk '/$getsn/{getline;next}{print}' file
It deletes the variable found and the next line after it in a file.
Thanks
wisher115
View Public Profile
Find all posts by wisher115
Find wisher115's past nominations received
Find wisher115's present nominations given