![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help needed to combine files to excel sheet | ahjiefreak | Shell Programming and Scripting | 5 | 03-30-2008 02:10 AM |
| how to read the data from an excel sheet and use those data as variable in the unix c | Anne Grace | UNIX for Advanced & Expert Users | 1 | 03-03-2008 04:21 AM |
| writeExcelXML will work on existing excel sheet | akash | Shell Programming and Scripting | 1 | 12-09-2007 02:49 AM |
| Creating Excel Sheet in Hp-UX | KVSPRASAD | HP-UX | 5 | 02-07-2007 08:16 PM |
| Insert csv into special sheet of excel | Elena | UNIX for Advanced & Expert Users | 2 | 02-07-2007 05:11 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Exporting files from unix to Excel sheet
How can we export a file in unix with certain number of columns to an excel sheet.
It's very useful in time saving...... |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
have a common delimiter,
create the file and export it to excel sheet and the defragmenting end, specify the delimiter values would be split based on delimiters and available in each column is that what you have asked far ? |
|
#3
|
|||
|
|||
|
Assuming the orginal file contents
$ cat /tmp/file.txt NAME ID YEAR abc 25 1995 ced 34 1977 ttt 43 1983 Create a csv file,which i assume can be opened up in XL, awk '{print $1","$2","$3}' < /tmp/file.txt > /tmp/file.csv cat /tmp/file.csv NAME,ID,YEAR abc,25,1995 ced,34,1977 ttt,43,1983 Open the file.csv in Excel. Please let me know if this helps |
|
#4
|
|||
|
|||
|
Quote:
thanx......yaar........it was of grt888!!!! help..... |
|||
| Google The UNIX and Linux Forums |