Search Results

Search: Posts Made By: Ashish Singhal
13,259
Posted By Yoda
Worksheet is a feature available in spreadsheet...
Worksheet is a feature available in spreadsheet file formats.

Take a look at Spreadsheet-WriteExcel (http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.39/lib/Spreadsheet/WriteExcel.pm)...
13,259
Posted By RudiC
1 csv = 1 table = 1 sheet
1 csv = 1 table = 1 sheet
13,259
Posted By Showdown
Its not possible in csv file to have 2 sheets.
Its not possible in csv file to have 2 sheets.
8,984
Posted By ripat
:confused: Useless use of cat and awk...
:confused:

Useless use of cat and awk instead of head.
8,984
Posted By vidyadhar85
Have you tried the sort command which I have...
Have you tried the sort command which I have provided above?
13,674
Posted By Yoda
I would suggest posting a representative sample...
I would suggest posting a representative sample input and desired output in code tags
13,674
Posted By RavinderSingh13
Hello, As your requirement is still not...
Hello,

As your requirement is still not clear to me. What I assume is you need to enter a new column to a file. If that is the requirement please try the following code.

lets say there is...
8,984
Posted By Himanshu Sharma
cat input.csv | awk -F"|" '{ if (NR == 1 || NR ==...
cat input.csv | awk -F"|" '{ if (NR == 1 || NR == 2) print $0' >> output_file_name

Assuming you want to capture first two lines
8,984
Posted By vidyadhar85
sort -t, -k1,1 -u input.csv
sort -t, -k1,1 -u input.csv
281,680
Posted By Neo
Simple rules of the UNIX.COM forums:
RULES OF THE UNIX AND LINUX FORUMS

For the latest version of the community rules (the official community rules page), please visit here. (https://www.unix.com/misc.php?do=cfrules)


No flames,...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 04:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy