Help in UNIX to Windows file formatting


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Help in UNIX to Windows file formatting
# 8  
Old 07-21-2014
Yet again, that cannot be your CSV file.

CSV means "comma-separated values".

Your values are not separated by commas.
# 9  
Old 07-21-2014
Hi mahi_mayu069,

Firstly, the csv file you have provided in the zip file is different from what you have provided later in your #7 post. The content in the zip file doesn't look like a csv since the delimiter or list seperator is absurd. The content in the #7 post is fine. It looks like the delimiter is ";" (a semicolon).

Now in order to view a delimited excel file in windows with a desired delimiter you need to modify the Windows System List Seperator. Please follow the below steps to perform the same :
1. Go to Control Panel in windows. (Assuming Windows 7)
2. Select View by : Category
3. Select Clock, Language and Region.
4. Select Region and Language.
5. In the formats tab, select Additional Settings.
6. Modify the List Seperator value to any desired delimiter. It could be a "|" (pipe), "," (comma), ";" semicolon etc.
7. Click on Apply an Ok.
8. Now open the delimited .csv file in Excel and you will get the desired output.

Make sure you have a common delimiter in your file.
# 10  
Old 07-21-2014
Please use code tags as required by forum rules!

I can't see any relationship between what you call the .csv file and the final EXCEL file that you presented as required output. What lines should make it into the output, based on which decision? Within lines, more data fields are present than in the .csv, and different from the .csv should they exist. How should they be calculated? Why is "none" present in two lines?

Please reconsider and respecify utmost carefully!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Can Unix access Windows' File through Command Prompt in Unix

Hi all, I wish to know whether Unix can access window's file in Unix's terminal? Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies

2. Shell Programming and Scripting

Need help with formatting file in UNIX

hi, please help me with the below 1)i have a file like below with data 389096 389097 389098 ..and i need some thing like below '389096','ZZ1111' '389097','ZZ1111' '389098','ZZ1111' 2)i have a file like below with data 8300003225 8300003223 8300006494 (7 Replies)
Discussion started by: kr123
7 Replies

3. Shell Programming and Scripting

UNIX script to FTP file from UNIX server to windows

Hi, I am new to this subject.....Can someone please help me out with the script... unix usernm "sdhftst" unix pwd "chsd13" windows usernm "dfghtst" windows pwd "chsd13" path..../xxx/xxxxx/xxxxxx/xxxxxxx please can u get me a script...its only one file to get ftp. Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies

4. Shell Programming and Scripting

Formatting csv file in Unix script

Hi, Am using the following command to create a csv file paste File_1.csv File_4.csv File_7.csv >Out1.csv paste File_2.csv File_5.csv File_8.csv >>Out1.csv paste File_3.csv File_4.csv File_9.csv >>Out1.csv Input Data: Expected Output: Column 1 Column 2 ... (2 Replies)
Discussion started by: meva
2 Replies

5. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

6. Shell Programming and Scripting

File formatting in unix

Hi , I have a text file noname.txt containing 1000+ records like this. One of the record I have given below. Input will b e like this BOT: 2010/06/01 00:25:59 21 = "private" Access-Method = 31 NCC = GBR 01 =... (5 Replies)
Discussion started by: smalya
5 Replies

7. UNIX for Dummies Questions & Answers

Copy a windows CVS file to the unix server as a svs file

I so desperately need a script to copy a windows csv file to my unix server and i know these should be at dummies but i have no bits. it is life & no job situation help please. thanks (1 Reply)
Discussion started by: zhegal
1 Replies

8. Shell Programming and Scripting

Formatting text file in unix

Hi, I am using the following format command for formatting my text file in unix. awk -F":" '{ printf "%-50s%-1s%-50s\n", $1,":", $2}' filename > targetfile The target file is then sent as an attachment via email. When I view the target file in notepad multiple lines get spanned as a... (2 Replies)
Discussion started by: AAA
2 Replies

9. UNIX for Dummies Questions & Answers

formatting of file in unix

i have a txt file in which it contains some lines each line contains some 350-400 characters but when i read the file line by line in ksh it is telling the max characters in each line is between 100-127 characters in each line it contains some values with some spaces in between when i try to... (2 Replies)
Discussion started by: trichyselva
2 Replies

10. UNIX for Advanced & Expert Users

Formatting hard drive from Unix to Windows

Can a hard drive be formatted from unix server to windows 2000 professional? (4 Replies)
Discussion started by: howarddtp
4 Replies
Login or Register to Ask a Question