List:General Discussion« Previous MessageNext Message »
From:Gerald R. Jensen Date:July 14 2001 8:47pm
Subject:Re: Slightly off-topic... Dump SQL editor thats cross-compat Win/Linux
View as plain text  
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" <black@stripped>
To: "Fred Dinkler" <fred@stripped>
Cc: <mysql@stripped>
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" <fred@stripped>

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 <mysql-thread79567@stripped>
To unsubscribe, e-mail
<mysql-unsubscribe-autodata=execpc.com@stripped>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


Thread
Slightly off-topic... Dump SQL editor thats cross-compat Win/LinuxFred Dinkler14 Jul
  • RE: Slightly off-topic... Dump SQL editor thats cross-compat WiDon Read14 Jul
  • Re: Slightly off-topic... Dump SQL editor thats cross-compat Win/LinuxGrigory Bakunov14 Jul
  • Re: Slightly off-topic... Dump SQL editor thats cross-compat Win/LinuxGrigory Bakunov14 Jul
  • Re: Slightly off-topic... Dump SQL editor thats cross-compat Win/LinuxGerald R. Jensen14 Jul
Re: Slightly off-topic... Dump SQL editor thats cross-compatWin/LinuxMike Cermak16 Jul
  • Re: Slightly off-topic... Dump SQL editor thats cross-compatWin/LinuxCarsten Gehling16 Jul
  • Re: Dump SQL editor thats cross-compatWin/LinuxSteve Brazill16 Jul
Re: Dump SQL editor thats cross-compatWin/LinuxMike Baranski16 Jul
  • Re: Dump SQL editor thats cross-compatWin/LinuxSteve Brazill16 Jul
RE: Dump SQL editor thats cross-compatWin/LinuxChris Lott16 Jul
Re: Dump SQL editor thats cross-compatWin/LinuxMike Baranski16 Jul
  • Re: Dump SQL editor thats cross-compatWin/LinuxCarsten Gehling16 Jul
Re: Dump SQL editor thats cross-compatWin/LinuxMike Baranski16 Jul