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|
1. saving the file in unicode txt document
2. copy the file to vi
3. using cat -vte
and none helped , the problem is that i have to get the o/p from the file and sort it and then put it into different file but since this file has several dozen columns its not opening properly in vi , cat as it opens in wordpad or txtpad.
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)
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)
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)
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)
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)
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)