annotate wrappers/dos2unix @ 501:8abb9e307d0c

Web page tweaks. Remove background image (makes it hard ot read for some people), and use local roadmap instead of third party wiki.
author Rob Landley <rob@landley.net>
date Sun, 26 Feb 2012 21:53:15 -0600
parents 7da386057101
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
411
7da386057101 Add three commands that can be done as simple shell scripts (one sed is in, anyway), and don't need to be implemented in C.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 #!/bin/sh
7da386057101 Add three commands that can be done as simple shell scripts (one sed is in, anyway), and don't need to be implemented in C.
Rob Landley <rob@landley.net>
parents:
diff changeset
2 #HELP usage: dos2unix [FILE...]\n\nRemove DOS newlines
7da386057101 Add three commands that can be done as simple shell scripts (one sed is in, anyway), and don't need to be implemented in C.
Rob Landley <rob@landley.net>
parents:
diff changeset
3
7da386057101 Add three commands that can be done as simple shell scripts (one sed is in, anyway), and don't need to be implemented in C.
Rob Landley <rob@landley.net>
parents:
diff changeset
4 [ $# -ne 0 ] && DASH_I=-i
7da386057101 Add three commands that can be done as simple shell scripts (one sed is in, anyway), and don't need to be implemented in C.
Rob Landley <rob@landley.net>
parents:
diff changeset
5 sed $DASH_I -e 's/\r$//' "$@"