Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

awk

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i'm trying to make a script, like:

when printing

$0
$1
$2=xyz
$3
$4

which gives

$0=a ^ b ^ c ^ d ^
$1=a
$2=b
$3=c
$4=d

i wanna take off $2 and make it "x"

note: ^ = space

i would appreciate any help. thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top