aboutsummaryrefslogtreecommitdiff
path: root/bin/sd2u.awk
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-03 01:21:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-03 01:21:00 +1300
commite43633aa54c25918ff9dd8a89f91b8342fe66e06 (patch)
treec7e894881c3616be727d8bde32247ee52a5dd333 /bin/sd2u.awk
parentAdd another issue (diff)
downloaddotfiles-e43633aa54c25918ff9dd8a89f91b8342fe66e06.tar.gz
dotfiles-e43633aa54c25918ff9dd8a89f91b8342fe66e06.zip
Convert sd2u and su2d to awk
Diffstat (limited to 'bin/sd2u.awk')
-rw-r--r--bin/sd2u.awk3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/sd2u.awk b/bin/sd2u.awk
new file mode 100644
index 00000000..87f710b2
--- /dev/null
+++ b/bin/sd2u.awk
@@ -0,0 +1,3 @@
+# Convert DOS line endings to UNIX ones
+{ sub(/\r$/, "") }
+1