Skip to content

Commit 0cffd4d

Browse files
committed
line ending example
1 parent c3ca673 commit 0cffd4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

line_ending.awk

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Example: awk -v ending="<<" -f line_ending.awk files/lorem.dat
2+
BEGIN{ORS=ending}
3+
{print}

0 commit comments

Comments
 (0)