Web lists-archives.com

Re: [Mingw-msys] msys appending Win32 path to hyphen




On Friday 24 October 2008 21:38:16 Caleb Cushing wrote:
> need unix2dos in mingw-utils

IIRC, (don't use Windoze at home, so can't check till Monday):

<script name=dos2unix>
#!/bin/sh
sed -n p "$@"
</script>

<script name=unix2dos>
#!/bin/sh
sed -n p "$@" | awk '{print $0"\r"}'
</script>

will do the trick, in MSYS.

Regards,
Keith.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys