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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi i want to insert a pipe symblo in between these two columns

Status
Not open for further replies.

CALYAN

Programmer
Apr 23, 2001
39
US
70 BJX
70 PLZ
70 SMF
70 YHZ
70 YOW
71 CEW

ex
71|LSE
I want to insert a pipe symbol how to do it.
 
[tt]awk 'BEGIN{OFS="|"} {print $1,$2}'
 
or

nawk -v OFS='|' '$1=$1' myFile.txt

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top