Or, you could take Grigory's suggestion a step further and make a shell
script ...

#################################################################
#!/bin/sh
# $1 - Windows filename with extension (case counts)
# $2 - Unix filename with extension (case as you want it)

cat $1|tr -d '\r' >$2

#################################################################

----- Original Message -----
From: "Grigory Bakunov" <[EMAIL PROTECTED]>
To: "Fred Dinkler" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, July 14, 2001 1:15 PM
Subject: Re: Slightly off-topic... Dump SQL editor thats cross-compat
Win/Linux


Date |Sat, 14 Jul 2001 13:34:40 -0400
>From |"Fred Dinkler" <[EMAIL PROTECTED]>

Hello!

FD> Creating and editing dbdump SQL files from local dev in Win2k, moving to
FD> Linux for QA and production.

FD> Text files edited using Wordpad and Notepad have extraneous line-end
chars
FD> (bold M).

FD> Any suggestions on configuration of any Win editor to save text without
FD> garbage chars showing up on Liux side?

You can also use simple script like this

cat your_windows_file|tr -d '\r' >your_unix_file

                                          Truly yours, Grigory Bakunov
                                                 ASPLinux Support Team
                                                http://www.asplinux.ru

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <mysql-unsubscribe-##L=##[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to