The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Sed command with characters
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Sed command with characters
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
04-25-2007
ghostdog74
Registered User
Join Date: Sep 2006
Posts: 1,448
Code:
awk -F ";" 'BEGIN {OFS = ";"} /^PRIHDR/{$5=4;print} ' file
ghostdog74
View Public Profile
Find all posts by ghostdog74