diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2000-08-14 21:08:08 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2000-08-14 21:08:08 +0000 |
commit | b4e22bd77b6548cbd6f90482d149a0b243baa7e5 (patch) | |
tree | de4e09a414dbde3ca1b67e18a68b0c140d3a24e3 /sys-apps/sed/files | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-b4e22bd77b6548cbd6f90482d149a0b243baa7e5.tar.gz gentoo-2-b4e22bd77b6548cbd6f90482d149a0b243baa7e5.tar.bz2 gentoo-2-b4e22bd77b6548cbd6f90482d149a0b243baa7e5.zip |
added two little utils. Will roll into main sed at some point
Diffstat (limited to 'sys-apps/sed/files')
-rwxr-xr-x | sys-apps/sed/files/dos2unix | 3 | ||||
-rwxr-xr-x | sys-apps/sed/files/unix2dos | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/sed/files/dos2unix b/sys-apps/sed/files/dos2unix new file mode 100755 index 000000000000..debe71409ba6 --- /dev/null +++ b/sys-apps/sed/files/dos2unix @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +exec /usr/bin/sed -e 's/\x0D$//' ${*} + diff --git a/sys-apps/sed/files/unix2dos b/sys-apps/sed/files/unix2dos new file mode 100755 index 000000000000..a6362f5cb883 --- /dev/null +++ b/sys-apps/sed/files/unix2dos @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +exec /usr/bin/sed -e 's/$//' ${*} + |