Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Converting text file to html page Post 303001251 by Corona688 on Monday 31st of July 2017 12:29:46 PM
Old 07-31-2017
My code works.

Image

Either you changed it, or your input data is different from what you show, or there's something odd about the way you viewed it.

Show your code and exactly how you use it and exactly the output you get, word for word, letter for letter, keystroke for keystroke.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

linking unix generated text file to html page

i am trying to link the text files that i generated from my shell script to an html page, to that i can view them using a browser, like internet explorer. i want to open the text files in html page when i enter a command to view the text file from the shell command. please could anyone help... (1 Reply)
Discussion started by: alexd
1 Replies

2. UNIX for Dummies Questions & Answers

Converting HTML to CSV

Hi, I need to convert a relatively large html file (1.5megs) into CSV under Unix. How would I be able to do this? Much thanks. (3 Replies)
Discussion started by: Jexel
3 Replies

3. UNIX for Dummies Questions & Answers

How do I extract text only from html file without HTML tag

I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part. Same problem happens in "type" command in MS-DOS. I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies

4. Shell Programming and Scripting

Converting a text file to HTML

Hi, I need to convert a text file formatted like this ("tshark -z conv,ip" output) to HTML: ===================================================================================================== IPv4 Conversations Filter:<No Filter> | <- ... (4 Replies)
Discussion started by: ph0enix
4 Replies

5. UNIX for Dummies Questions & Answers

Possible to download web page's text to a file?

Hi, Say there is a web page that contains just text only - that is, even the source code is just the text itself, nothing more. An example would be "http://mynasadata.larc.nasa.gov/docs/ocean_percent.txt" Is there a UNIX command that would allow me to download this text and store it in a... (1 Reply)
Discussion started by: Breanne
1 Replies

6. Shell Programming and Scripting

Converting columns of a text file.

Not sure the most effient way to do this. I have figiured out how to extract columns with shell script, but not sure how to convert This is what I have... NEWDNS 04-Jun-2011 06:00:59.762 10.220.136.217 crl.verisign.com This is what I need.... Change date, remove mil seconds,... (1 Reply)
Discussion started by: mrlayance
1 Replies

7. UNIX for Dummies Questions & Answers

Converting a text file with irregular spacing into a space delimited text file?

I have a text file with irregular spacing between values which makes it really difficult to manipulate. Is there an easy way to convert it into a space delimited text file so that all the spaces, double spaces, triple spaces, tabs between numbers are converted into spaces. The file looks like this:... (5 Replies)
Discussion started by: evelibertine
5 Replies

8. Shell Programming and Scripting

Converting text file in a matrix

Hi All, I do have a file with many lines (rows) and it is space delimited. For example: I have a file named SR345_pl.txt. If I open it in an editor, it looks like this: adfr A2 0.9345 dtgr/2 A2 0.876 fgh/3 A2 023.76 fghe/4 A2 2345 bnhy/1 A3 3456 bhy A3 0.9876 phy A5 0.987 kdrt A5... (9 Replies)
Discussion started by: Lucky Ali
9 Replies

9. Shell Programming and Scripting

Format problem while converting text file to csv

Hi , I need a help in following scenario.I tried searching in google but couldn't able to find the exact answer. Sorry if i am re-posting already answered query. While i am trying to convert into log file into csv i couldn't able to get the format which i am looking for. I converted file... (4 Replies)
Discussion started by: varmas424
4 Replies

10. Shell Programming and Scripting

Converting data for text file to csv

Gents Using the script attached (raw2csv). i use to create the file .csv.. The input file is called 201.raw. Kindly can you check if there is easy way to do it. The script works fine but takes a lot time to process Thanks for your help (8 Replies)
Discussion started by: jiam912
8 Replies
sdeckanji(5)							File Formats Manual						      sdeckanji(5)

NAME
sdeckanji - A character encoding system (codeset) for Japanese DESCRIPTION
The Super DEC Kanji codeset extends the DEC Kanji codeset to support the CS2 (JIS Katakana) and CS3 (JIS X0212) character sets that are also included in the Japanese EUC codeset. Super DEC Kanji is therefore a superset of both DEC Kanji and Japanese EUC and can handle data encoded in either DEC Kanji or Japanese EUC. The codeset was implemented to ease the transition from DEC Kanji, which is proprietary encod- ing, to Japanese EUC, which is encoding specified by an industry standard. In addition to supporting standard Japanese character sets, Super DEC Kanji provides three areas for defining User-Defined Characters (UDC). The UDC areas are as follows: ------------------------------------------------------------ Area Usage Row Range Number of Char- Code Range acters ------------------------------------------------------------ JIS X0208 85-94 940 F5A1-FEFE JIS X0212 78-94 1598 SS3 [EEA1-FEFE] UDC 1-94 8836 A121-FE7E ------------------------------------------------------------ The representation of ASCII/JIS Roman, JIS X0208 and User-Defined Characters (UDC) in Super DEC Kanji is the same as that in DEC Kanji. The representation of CS2 and CS3 in Super DEC Kanji is the same as that in Japanese EUC. Codeset Conversion The following codeset converter pairs are available for converting Japanese characters between sdeckanji and other encoding formats. Refer to iconv_intro(5) for an introduction to codeset conversion. For more information about the other codeset for which sdeckanji is the input or output, see the reference page specified in the list item. deckanji_sdeckanji, sdeckanji_deckanji Converting from and to the DEC Kanji codeset: deckanji(5). eucJP_sdeckanji, sdeckanji_eucJP Converting from and to Japanese Extended UNIX Code: eucJP(5). ISO-2022-JP_sdeckanji, sdeckanji_ISO-2022JP Converting from and to the ISO 2022-JP codeset: iso2022jp(5). ISO-2022-JPext_sdeckanji, sdeckanji_ISO-2022JPext Converting from and to the ISO 2022-JP Extended codeset: iso2022jp(5). JIS7_sdeckanji or jiskanji7_sdeckanji, sdeckanji_JIS7 or sdeckanji_jiskanji7 Converting from and to 7-bit JIS Kanji code: jiskanji(5). SJIS_sdeckanji, sdeckanji_SJIS Converting from and to the Shift JIS codeset: SJIS(5). Shift JIS encoding is identical to encoding used in the Microsoft Japanese code page for PC systems. Therefore, you can use these converters to convert Japanese characters between Super DEC Kanji and PC code-page format. For information on how the operating sys- tem supports PC code pages, see code_page(5). UCS-2_sdeckanji, sdeckanji_UCS-2 Converting from and to UCS-2 format: Unicode(5). UCS-4_sdeckanji, sdeckanji_UCS-4 Converting from and to UCS-4 format: Unicode(5). UTF-8_sdeckanji, sdeckanji_UTF-8 Converting from and to UTF--8 format: Unicode(5). Font Support for Super DEC Kanji For display devices, the operating system supports sdeckanji code by converting it to deckanji and using fonts available for deckanji. Refer to i18n_printing(5) and Japanese(5) for information about supporting print jobs that contain Japanese characters. SEE ALSO
Commands: locale(1) Others: ascii(5), code_page(5), deckanji(5), eucJP(5), i18n_intro(5), i18n_printing(5), iconv_intro(5), iso2022jp(5), Japanese(5), jiskanji(5), l10n_intro(5), shiftjis(5), Unicode(5) sdeckanji(5)
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy