Sponsored Content
Top Forums Shell Programming and Scripting Append the text file with comma at the end of every word Post 302533361 by Corona688 on Thursday 23rd of June 2011 11:58:13 AM
Old 06-23-2011
input is the input file, output is the output file. They shouldn't be the same, since most UNIX utilities can't edit in-place.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

using sed to append text to the end of each line

Anyone know how to use SED to append a comma to the end of each line example: field1,field2,field3,field4 If i Cat /textfile ---- How can i append the end of /textfile with a comman? (8 Replies)
Discussion started by: Redg
8 Replies

2. Shell Programming and Scripting

Append text at end of the first line in a file

Hi I need to append some text @ end of the first line in a file. like myfile.txt list = a,b,c list.a=some.. I give the arg "d" . now it append at end of first line list=a,b,c,d list.a=some... Please help me out this (7 Replies)
Discussion started by: catgovind
7 Replies

3. Shell Programming and Scripting

Sed : identify a pattern and append a word at the end of a line

Hello to all, On aix, I want to identify a term on a line in a file and then add a word at the end of the line identified. I do not want the word to be added when the line contains the symbol "#". I use the following command, but it deletes the term identified then adds the word. #sed... (4 Replies)
Discussion started by: dantares
4 Replies

4. Shell Programming and Scripting

append some text message at the end of the file

Hi All, Please tell me how to append some text message at the end of the file. "File too large to view" example: xyz.log contains hhhhhhhhhhh hhhhhhjjjjjjjjj jjjjjjjjjjjjjjjjjjjjjj "File too large to view" Please advice (3 Replies)
Discussion started by: rajeshorpu
3 Replies

5. UNIX for Dummies Questions & Answers

How can I append a text at end of file after displaying the file

I have a file "sample.txt" with the content as below: Hi This is a Sample Text. I need a single command using cat which serve the following purpose. 1.display the contents of sample.txt 2.append some text to it 3. and then exit But, all should be served by a sinle command.:confused: (1 Reply)
Discussion started by: g.ashok
1 Replies

6. Shell Programming and Scripting

Append text from one file to another based on a search from the end of a document

Hi all, I have output files that are all text files with various different extensions. So, if I submit the input file "job_name.inp", when it finishes I get an output file "job_name.dat". A typical input file looks something like this: $CONTRL SCFTYP=RHF RUNTYP=ENERGY MAXIT=199 MULT=1... (4 Replies)
Discussion started by: marcozd
4 Replies

7. Shell Programming and Scripting

Append text to end of line on all lines

Hi, I've spent some time researching for this but can't seem to find a solution. I have a file like this 1234|Test|20101111|18:00|19:00There will be multiple lines in the file with the same kind of format. For every line I need to make it this 1234|Test|20101111|18:00|19:00||create... (5 Replies)
Discussion started by: giles.cardew
5 Replies

8. Shell Programming and Scripting

Append text to end of every line

I've scoured the internet with mixed results. As an amateur I turn to the great minds here. I have a text file of 80 or so lines. I want to add ".pdf" to the end of each line. (For now that's it) Most of the internet points toward using "sed". I don't know coding but can figure things out... (4 Replies)
Discussion started by: spacebase
4 Replies

9. Shell Programming and Scripting

How to append word count at end of file?

Hi guys, I have to append the word count of a file at the end of the file name like this - > "filename_2345" where 2345 is the word count of "filename". How do i achieve this using one command ? I am not allowed to store the word count in a variable and then concatenate. Request your... (1 Reply)
Discussion started by: peter2312
1 Replies

10. Shell Programming and Scripting

sed command to append word at end of line

hello Team, I am looking for sed command or script which will append word at end of line. for example. I want to validate particular filesystem with mount |<filesystem name> command. if nodev parameter is not there then it should add in the fstab file with receptive to the filesystem. # mount... (8 Replies)
Discussion started by: ghpradeep
8 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)
All times are GMT -4. The time now is 12:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy