Sponsored Content
Full Discussion: Wordpad file in solaris
Operating Systems Solaris Wordpad file in solaris Post 302504793 by fugitive on Tuesday 15th of March 2011 12:36:45 PM
Old 03-15-2011
Wordpad file in solaris

i have a file which i open in wordpad shows proper formated o/p column wise .. but same file which is txt file when i do cat in solaris shows grabbled o/p is there any way i can see the output same as wordpad or txt pad ? even in solaris ?

Following is the o/o when i do a #cat file.txt | more in soalris

Code:
1|HD5N301|HD5N302|HD5N303|HD5N304|HD5N401|HD5N402|HD5N403|HD5N404|HD5N405|HD5N406|HD5N407|HD6N101|HD6N102|HD6N201|LN1PO101|LN1PO102|LN1PO103|LN1PO104|LN1PO106|LN1PO107|LN1PO108|
LN1PO109|LN1PO110|LN1PO111|LN1MEA01|LN1MEA02|LN1MEA03|LN1MEA04|LN1PID01|LN1PID05|LN1TC201|LN1TC202|LN1TC205|LN1TC206|LN1TD401|LN1TD402|LN1MTX01|LN1MTX02|LN1MTX03|LN3N101|LN3N102
|LN3N103|LN3N104|LN3N201|LN3N301|LN3N302|LN3N303|LN3N304|LN3N401|LN3N402|LN3N403|LN3N404|LN3N405|LN3N406|LN3N407|LN3REF01|LN3REF02|LN3REF03|LN3REF04|LN4PER01|LN4PER02|LN4PER03|L
N4PER04|LN4PER05|LN4PER06|LN4PER07|LN4PER08|LN1SCH01|LN1SCH02|LN1SCH05|LN1SCH06|LN1SCH08|LN1SCH09|LN1SCH12|SUCTT01|SUCTT02|LN5PER02|LN1POC02|LN1PO105|LN1TXI06
00|ENP SURGE |00|          |ZZ|CNTRLCNCPTS    |ZZ|               |110310|1500|<|00502|         |0|P|>|PO|CNTRLCNCPTS    |               |20110310|150028  |         |X |005020
   |850|         |00|BK|501B31434004          |B31434000                     |20110310|                              |  |03|BY |USD|          |   |        |        |PP |0000000
                                                                        |S3 |ABC                                                                      |06 |501
                                                                 |K6 |MARK FOR: STOCK                                                                 |CC|ZZ|EMR2006
                                                            |ZZ|                                                                                |5TH 3RD PROX
                                                |L1 |PO HEADER INSTRUCTIONS TO SUPPLIER           |OTH|                    THANK YOU!!!!!!!!!!!!
      |****************I M P O R T A N T ***************************                   |VN |  Q CORP.                                 |93|501
                                                           |                                                            |                                     |
                                                       |                                                       |                                                       |MENTOR
                     |OH|44060                              |   |SU|                                                            |TE|
                                                     |FX|                                                                                |EM|

 

7 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Wordpad or Notepad?

I am new to using UNIX and after uploading a new script to UNIX from Windows using FTP, the script doesn't always work. It seems this depends on the text editor I use and the transfer type. I understand all scripts should be transferred using ASCII, but can you advise which is the best text editor... (12 Replies)
Discussion started by: Heidi.Ebbs
12 Replies

2. Shell Programming and Scripting

Unzipping a file in Solaris - Issue with xls file

Hi, I have an excel file generated by system in windows. I am zipping it, transfering to unix and unzipping there. But i'm getting below output while unzipping. $ /usr/bin/unzip -a 123.zip -d . Archive: 123.zip inflating: ./123/Index.xls When i copy this unzipped xls file to... (0 Replies)
Discussion started by: ajaykumarb
0 Replies

3. Solaris

Open .z file on solaris

Hello Admins; Anybody can suggest on how to open ".z" files on solaris. Thanks (16 Replies)
Discussion started by: snchaudhari2
16 Replies

4. Shell Programming and Scripting

How to print excel file / csv file in solaris server ?

Hi, I have to print a excel file in solaris server. I am using lexmark printer with post script printer driver . But the problem is when i am using " lp -d <printer name> <somefile name.xls>" command it is not printing correctly. but for pdf file using the same command it printing correctly. ... (2 Replies)
Discussion started by: Sambuddha
2 Replies

5. Solaris

Solaris :regarding /etc/shadow file

what does the last column in /etc/shadow file indicate?? i read man page,it tells its FLAG..but i am not able to understand exactly why its there :confused: thanks in advance, shekhar (4 Replies)
Discussion started by: shekhar_4_u
4 Replies

6. Solaris

dual boot solaris/solaris zfs file system

Hi, I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out. First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris... (3 Replies)
Discussion started by: estammis
3 Replies

7. UNIX for Dummies Questions & Answers

Help with Solaris file system

Hi, I have not worked on Solaris 10 that much. Need some help with this. I can't seem where the file or how the file systems are mounted. Please see the /etcvfstab below. more vfstab #device device mount FS fsck mount mount #to mount to fsck ... (3 Replies)
Discussion started by: samnyc
3 Replies
unix2dos(1)						      General Commands Manual						       unix2dos(1)

NAME
unix2dos - UNIX to DOS text file format converter SYNOPSYS
unix2dos [options] [-c convmode] [-o file ...] [-n infile outfile ...] Options: [-hkqV] [--help] [--keepdate] [--quiet] [--version] DESCRIPTION
This manual page documents unix2dos, the program that converts text files in UNIX format to DOS format. OPTIONS
The following options are available: -h --help Print online help. -k --keepdate Keep the date stamp of output file same as input file. -q --quiet Quiet mode. Suppress all warning and messages. -V --version Prints version information. -c --convmode convmode Sets conversion mode. Simulates unix2dos under SunOS. -o --oldfile file ... Old file mode. Convert the file and write output to it. The program default to run in this mode. Wildcard names may be used. -n --newfile infile outfile ... New file mode. Convert the infile and write output to outfile. File names must be given in pairs and wildcard names should NOT be used or you WILL lost your files. EXAMPLES
Get input from stdin and write output to stdout. unix2dos Convert and replace a.txt. Convert and replace b.txt. unix2dos a.txt b.txt unix2dos -o a.txt b.txt Convert and replace a.txt in ASCII conversion mode. Convert and replace b.txt in ISO conversion mode. unix2dos a.txt -c iso b.txt unix2dos -c ascii a.txt -c iso b.txt Convert and replace a.txt while keeping original date stamp. unix2dos -k a.txt unix2dos -k -o a.txt Convert a.txt and write to e.txt. unix2dos -n a.txt e.txt Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt. unix2dos -k -n a.txt e.txt Convert and replace a.txt. Convert b.txt and write to e.txt. unix2dos a.txt -n b.txt e.txt unix2dos -o a.txt -n b.txt e.txt Convert c.txt and write to e.txt. Convert and replace a.txt. Convert and replace b.txt. Convert d.txt and write to f.txt. unix2dos -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt DIAGNOSTICS
BUGS
The program does not work properly under MSDOS in stdio processing mode. If you know why is that so, please tell me. AUTHOR
Benjamin Lin - ( blin@socs.uts.edu.au ) MISCELLANY
Tested environment: Linux 1.2.0 with GNU C 2.5.8 SunOS 4.1.3 with GNU C 2.6.3 MS-DOS 6.20 with Borland C++ 4.02 Suggestions and bug reports are welcome. SEE ALSO
dos2unix(1) 1995.03.31 unix2dos v2.2 unix2dos(1)
All times are GMT -4. The time now is 07:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy