aboutsummaryrefslogtreecommitdiff
path: root/bin/su2d.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/su2d.awk
parentAdd another issue (diff)
downloaddotfiles-e43633aa54c25918ff9dd8a89f91b8342fe66e06.tar.gz
dotfiles-e43633aa54c25918ff9dd8a89f91b8342fe66e06.zip
Convert sd2u and su2d to awk
Diffstat (limited to 'bin/su2d.awk')
-rw-r--r--bin/su2d.awk3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/su2d.awk b/bin/su2d.awk
new file mode 100644
index 00000000..f9160ab0
--- /dev/null
+++ b/bin/su2d.awk
@@ -0,0 +1,3 @@
+# Convert UNIX line endings to DOS ones
+!/\r$/ { $0 = $0 "\r" }
+1