PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

LineEndings.c 3023


Your Ad Here

Your Ad Here

Linux Harddrive Question
In a message on 20 Feb 2005 17:30:59 -0800, wrote : While this is true, it is still a *sort of...
Unable to download deep files and directories recursively with mget R command
I discovered debug and enabled it in ncftp: Cmd: MLST test 500: Unknown command. Cmd: PWD 257: "-home-ant" Cmd: CWD...

On Tue, 22 Feb 2005 10:57:54 +1300, Lawrence DŐOliveiro staggered into the Black Sun and said: snip further recode examples

paganini:~-work$ recode --version Free recode 3.6 paganini:~-work$ file example.txt example.txt: ASCII English text (aka "ASCII text file withn line endings") (dos2unix is an alias for "recode IBM-PC..latin1") paganini:~-work$ dos2unix example.txt recode: example.txt failed: Ambiguous output in step `CR-LF..data'

Because example.txt was *not* in IBM-PC format, recode exited with an error, and example.txt was unchanged. Do you do *any* fact checking on the things you say?

I said upthread that MacOS, DOS-Windows, and Unix have differing conventions for what characters 128-255 mean. This is verifiable by experiment if you have a Mac or Windows machine sitting around. If you have a MacOS file that contains characters like ‡Ź–ß 0, and you use your program to attempt to translate it to format, the end result will *not* *be* *correct*. recode handles this. Your solution only works for straight ASCII.

Er, what? usr-bin-file can determine whether a text file usesn,r, orr-n. usr-bin-recode can convert text files in various formats to various other formats, it handles character set conversion properly, and it's everywhere--which your program is not. You've solved a problem that already had a perfectly good and widespread solution, and you've managed to ignore one of the major problems that recode handles. *That* is why I said you've reinvented a pentagonal wheel. If you have a matching-pentagonal road surface to drive on, by all means, use it. Just don't be surprised when other people don't bother.

Linux Hard Drive Question
That's linux. For your purpose, you would not need ghost. You could even setup a "live" mirroring with software raid-1 making it easy to recover from a...

In the sciences, they say, "A few months in the lab can save a few hours in the library." A similar principle holds when working with computers. HTH, HAND, RTFM and STFW next time before you fire up your editor and compiler.

0 That's a-acute, e-grave, n-tilde, and lowercase-thorn if your newsreader mangled it.

-- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong



Your Ad Here

List | Previous | Next

Linux Harddrive Question

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

LineEndings.c 3022