Skip to content

Commit 0b7f75e

Browse files
committed
OFS and ORS
1 parent 941b6b6 commit 0b7f75e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ofs_ors.awk

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Example: awk -v ors="<<\n" -v ofs="-" -f ofs_ors.awk files/lorem.dat
2+
BEGIN{ORS=ors;OFS=ofs}
3+
{$1=$1}
4+
{print}

0 commit comments

Comments
 (0)