Keith Marshall | 25 Oct 01:33
Picon

Re: trying to build msys from source

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=/

Gmane