8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Firstly one of my mysql queries will yeild following output
+-------+---------------------+-------------------+----------------------------------------------------------------------------+
| ID | PLATFORM | SORT_NAME | DESCRIPTION ... (2 Replies)
Discussion started by: vivek d r
2 Replies
2. Shell Programming and Scripting
I have 3 files
File1
C1 C2 c3
File 2
C1 c2 c3
File 3
C1 c2 c3
Now i want to have
File1 as C1 c2 c3 I
File2 as C1 c2 c3 O
File3 as c1 c2 c3 D
and these 3 files should be concatenated into a single file
how can it be done in unix script? (3 Replies)
Discussion started by: Codesearcher
3 Replies
3. Shell Programming and Scripting
Hi,
I am new in unix.
I have below requirement:
I have two files at the same directory location
File1.txt and File2.txt (just an example, real scenario we might have File2 and File3 OR File6 and File7....)
File1.txt has :
header1
record1
trailer1
File2.txt has:
header2
record2... (4 Replies)
Discussion started by: Deepak62828r
4 Replies
4. Shell Programming and Scripting
Hi,
I would like a shell script that reads all files in a directory and concatenate them. It is not a simple concatenation. The first few lines of the files should not be included. The lines to be included are the lines from where 'START HERE' appears up to the end of the file. For example, I... (4 Replies)
Discussion started by: laiko
4 Replies
5. Shell Programming and Scripting
HI
I need to concatenate two files which are having headers. the result file should contain only the header from first file only and the header in second file have to be skipped.
file1:
name age
sriram 23
file2
name age
prabu 25
result file should be
name age
sriram 23
prabu ... (6 Replies)
Discussion started by: Sriramprabu
6 Replies
6. Shell Programming and Scripting
That subject might sound weird. What I have is two files. One looks like:
rf17 pts/59 Jul 10 08:43 (10.72.11.22) 27718 pts/59 0:00 b
rf17 pts/3 Jul 10 10:03 (10.72.11.22) 32278 pts/3 1:43 b
rf58 pts/29 Jul 10 10:09 (10.72.11.51) 44220 pts/29 0:06 b
rf58 pts/61 Jul 10 08:45 (10.72.11.51)... (2 Replies)
Discussion started by: raidzero
2 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to concatenate records from 2 files and output it to a third file. The problem I'm running into is that it seems like the "While" command is limited to processing one file at a time. It seems like you could read a record from file1 into a variable. Then do the same for the for file2.... (4 Replies)
Discussion started by: Powcmptr
4 Replies
8. UNIX for Dummies Questions & Answers
...
i have 4 files to concatenate but in a certain order and i wanted to do it in a shorter one line command , if possible !
4 files : file , file0 , file1 and file2
file1 into file2
file0 into the result
file into the result
thanks in advance
Christian (1 Reply)
Discussion started by: Nicol
1 Replies
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)