03-22-2002
Actually, it is NOT "\n" in Windows. The OS actually
converts text files to represent end-of-line as "\r\n" (CR-LF) when
stored to disk. UNIX however has no such "oddities".
UNIX text files use "\n" to represent end-of-line.
Actually, to UNIX, there is no difference between a binary
or a text file when stored on disk.
If you are using some sort of Windows to UNIX FTP program,
usually selecting "text" file format will do the conversion
for you. Some editors will also do this conversion for you.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am a completely newby in this forum and a completely newby in Unix too. I have searched this question before I posted it to this forum, but forgive me if it was previously answered! :)
My question is simple. I have a Unix K-shell that receives an argument. But this argument is always between... (2 Replies)
Discussion started by: lvalero
2 Replies
2. UNIX for Dummies Questions & Answers
Hello Forum,
I am having an odd occurence. When i do a su in a terminal or console session, I am able get authenticated as superuser without using the full or correct root password. Anyone have any idea?
-AJ (4 Replies)
Discussion started by: jacobsa
4 Replies
3. UNIX for Dummies Questions & Answers
I am using smartFTP client on my windows machine to connect to a linux box of mine (different location) to download some large files 100+meg. The linux box is running vsftp.
After several minutes of downloading, the connection suddenly dies, and I cannot reconnect to the box via FTP using ANY... (7 Replies)
Discussion started by: Spetnik
7 Replies
4. AIX
Hi,
I have a strange problem. we're trying to connect an IBM pseries, to a Brocade switch, for SAN acess, using a badged emulex card, (IBM FC6239) WE can configure the device to see the fabric. The only problem we have is that the Brocade sees the HBA as storage, and not as a HBA.
We've zoned... (1 Reply)
Discussion started by: praxis22
1 Replies
5. UNIX for Dummies Questions & Answers
I discovered that where 'tr -s' works as expected on grepped input, it appears to completely fail on dig results.
I am not sure if this is because of some sort of non posix compliancy, or what.
Here is what I did:
The command below works as expected, squeezing all repeated spaces to a single... (3 Replies)
Discussion started by: bdmeyersc
3 Replies
6. BSD
Our webserver is running FreeBSD, for the last few days we have been having an issue with our cronjobs/mysql server.
Specifically we have jobs that execute php scripts to do various things to the website. When running these php scripts manually, via external browser, or lynx on the server, they... (8 Replies)
Discussion started by: mrfr0g
8 Replies
7. Solaris
All,
I'm baffled by some sort behavior on SunOS 5.10 and looking for guidance.
Running the command:
sort -t'|' -k5,5 -k7,7 -k1,1 -k2,2 -k3,3 -k6,6 -k8,8 test
Against the file "test":
thirdA||||first||second|Data
thirdB||||first||second|
thirdC||||first||second|Data... (11 Replies)
Discussion started by: effigy
11 Replies
8. Shell Programming and Scripting
Hi,
Does anyone know of any permission bit "translator"? One that can translate the permission bit from its textual value to its octal value and vice versa. It is alright if it is always just rwx but on a lot of occasions nowadays, getting a lots of s, S, t, etc.
-rwxrwxrwx 1 oracle dba... (4 Replies)
Discussion started by: newbie_01
4 Replies
9. UNIX for Dummies Questions & Answers
I have to apologize for my ignorance so this question is probably stupid.
How does awk process a file? Does it read from top of input file to end of file going line by line?
Yoda helped me create an awk script that helps me parse the named.conf file and output it into a .csv file but when... (8 Replies)
Discussion started by: djzah
8 Replies
10. Shell Programming and Scripting
Hi all, I'm trying to use bash to create a basic parser for some text, because basic grep/sed/awk have all my needs covered.
So, I'm creating the chain of grep/sed I need and trying the execute that on the data I gather.
The problem is, it's not working as it does when hardcoded.
e.g.
... (3 Replies)
Discussion started by: beomagi
3 Replies
LEARN ABOUT OSF1
jsy2wxtxt
jim_convert(1) General Commands Manual jim_convert(1)
NAME
jim_convert, jdic2txt, jsy2vjetxt, jsy2wxtxt, txt2jdic, vje2jsytxt, wx2jsytxt - Convert Japanese text and dictionary files between the JSY,
WX, and VJE input methods
SYNOPSIS
/usr/i18n/bin/jdic2txt [-v] [jsy-dictionary-filename]
/usr/i18n/bin/jsy2vjetxt [jsy-text-filename] [vje-text-filename]
/usr/i18n/bin/jsy2wxtxt [jsy-text-filename] [wx-text-filename]
/usr/i18n/bin/txt2jdic [[-a] jsy-dictionary-filename]
/usr/i18n/bin/vje2jsytxt [vje-text-filename] [jsy-text-filename]
/usr/i18n/bin/wx2jsytxt [wx-text-filename] [jsy-text-filename]
OPTIONS
Prints conversion statistics to stderr. Appends conversion results to an existing dictionary rather than creating a new dictionary.
OPERANDS
Specifies the name of a JSY dictionary file. Specifies the name of a text file in JSY format. Specifies the name of the text file in VJE
format. Specifies the name of a text file in WX format.
DESCRIPTION
Three Japanese input methods are used on a Tru64 UNIX system: the JSY input method (Compaq), the WX input method (A.I. Soft Company), and
the VJE input method (VACS Company). Software for the JSY input method is available in optional Tru64 UNIX subsets for Japanese language
support. Software for the other two Japanese input methods is included only with the Japanese Tru64 UNIX product that is sold in Japan.
Each of these input methods uses a specialized dictionary for conversion between Kana and Kanji characters. This fact makes it difficult
for users to migrate their personal dictionaries from one input method to another, or to create a customized dictionary from a text source
file for an existing dictionary. The converters described on this reference page help support customization and migration of private user
dictionaries for Kana-Kanji conversion.
The converters described on this reference page can be used in combination with utilities supplied with third-party software to migrate
Kana-Kanji dictionaries from one input method to another.
For the jsy2vjetxt, jsy2wxtxt, vje2jsytxt, and wx2jsytxt converters, both file operands are optional. If neither file is specified, stdin
and stdout are used as input and output. If only one file is specified, that file is used as input and stdout is used as output.
For the jdic2txt converter, stdin is used as input if the dictionary operand is omitted. The conversion results are always sent to stdout.
For the txt2jdic converter, stdin is used as input. If the dictionary file argument is omitted, results are sent to stdout.
The following diagrams show how the process for text file and dictionary conversion differs, depending on the input method format. In these
diagrams, wx3ent and wx31st are utilities packaged with the WX input method software, and vuty is a utility packaged with the VJE input
method software. The following diagrams show the process for converting dictionaries to text files using the same input method format:
Text file in JSY format -> txt2jdic -> JSY dictionary
JSY dictionary -> jdic2txt -> Text file in JSY format
Text file in WX format -> wx3ent -> WX dictionary
WX dictionary -> wx31st -> Text file in WX format
Text file in VJE format -> vuty -> VJE dictionary
VJE dictionary -> vuty -> Text file in VJE format The following diagrams show the process for converting text files from one input
method format to another:
Text file in JSY format -> jsy2wxtxt -> Text file in WX format
Text file in JSY format -> jsy2vjetxt -> Text file in VJE format
Text file in WX format -> wx2jsytxt -> Text file in JSY format
Text file in VJE format -> vje2jsytxt -> Text file in JSY format The following diagrams show the process for converting dictionaries
from one input method to another:
JSY dict. -> jdic2txt -> jsy2wxtxt -> wx3ent -> WX dict.
JSY dict. -> jdic2txt -> jsy2vjetxt -> vuty -> VJE dict.
WX dict. -> wx31st -> wx2jsytxt -> txt2jdic -> JSY dict.
VJE dict. -> vuty -> vje2jsytxt -> txt2jdic -> JSY dict.
FILES
Directory where converters reside.
SEE ALSO
Japanese(5)
jim_convert(1)