Skip to content

Commit

Permalink
Add awk 14
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchpaulus committed Dec 7, 2024
1 parent b549092 commit 6fde722
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/awk/14.awk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ temp = $1; $1 = $2; $2 = temp; print }
8 changes: 8 additions & 0 deletions examples/awk/14.msh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
wt
(
[]
over :1: append
over :0: append
swap 2: +
" " join wl
) each
1 change: 1 addition & 0 deletions examples/awk/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ data_test 10
data_test 11
emp_test 12
emp_test 13
emp_test 14

exit "$FAIL"

0 comments on commit 6fde722

Please sign in to comment.