En Mon, Feb 19, 2001 at 08:28:45AM +0800, Pablo Manalastas escribio:
#_ Quoting Juan Miguel Cacho <[EMAIL PROTECTED]>:
#_ 
#_ > #_ todos < unixtextfile > dostextfile
#_ > I don't have it, I'll look for it in freshmeat.
#_ 
#_ Here is a version of todos.c
#_ 
#_ ----------------todos.c---------------------
#_ /* todos.c - 
#_    converts text files so that lines ending 
#_    with "\n" will end with "\r\n" instead */
#_ 
#_ #include <stdio.h>
#_ 
#_ int main() 
#_ {   int c;
#_     while ( c=getchar(), c!=EOF ) {
#_         if ( c=='\n') putchar ('\r');
#_         putchar(c)
#_     }
#_ }
#_ 
#_ ------------------end-----------------------
#_ 
#_ PMana

I couldn't find it in freshmeat!

Thanks.


-- 
Juan Miguel Cacho       [EMAIL PROTECTED] ®
Philippines             [EMAIL PROTECTED] 
...the poor count their blessings, the affluent count their calories.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to