Sponsored Content
Top Forums Shell Programming and Scripting urgent<parsing data from a excel file> Post 302366942 by Scrutinizer on Friday 30th of October 2009 11:49:39 PM
Old 10-31-2009
Or try awk anyway:
Code:
awk -F'","' '$5 == "L1,"' infile > outfile

Code:
$> cat outfile
"NM_001494","chr10","-",5847192,5895379,"N","LINE,","L1,","+,","5850340,","5850974,","5'UTR,"
"NM_012311","chr10","-",7837373,7869950,"N","LINE,","L1,","+,","7837122,","7837639,","3'UTR,"
"NM_001494","chr10","-",5847192,5895379,"N","LINE,","L1,","+,","5850340,","5850974,","5'UTR,"
"NM_012311","chr10","-",7837373,7869950,"N","LINE,","L1,","+,","7837122,","7837639,","3'UTR,"


Last edited by Scrutinizer; 10-31-2009 at 03:29 PM..
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help on email data file as excel from unix!!

Hi, I need to email a data in excel sheet from unix using shell scripting.I could able to generate the data file with tab delimiter with extension .xls could able to email it. The problem is when a coulmn with 16 digit number is exported, it is showing in scientific format. Any help in... (1 Reply)
Discussion started by: sparan_peddu
1 Replies

2. Shell Programming and Scripting

how to copy data to to excel file

Hi, Can any one tell me how to copy data using shell script to a excel file from text file to other columns of excel file,leaving first column unaffected i.e it should not overwrite data in first column. Say my text file data is: 15-dec-2008 15-dec-2009 16-dec-2008 16-dec-2009 ... (7 Replies)
Discussion started by: tucs_123
7 Replies

3. Shell Programming and Scripting

Copying data from excel file

Hii friends, I am a newbie to unix/shell scripting and got stuck in implementing a functionality.Dear experts,kindly spare some time to bring me out of dark pit :confused:.. My requirement is somewhat wierd,let me explain what i have and what i need to do... 1) there are several excel... (1 Reply)
Discussion started by: 5ahen
1 Replies

4. Shell Programming and Scripting

store the table data in excel file

Hello - I have a below table and i want to extract the data into excel sheet and send to different location. Here is the table structure... SQL> desc t_i1_exportdocs Name Null? Type ----------------------------------------- --------... (11 Replies)
Discussion started by: govindts
11 Replies

5. UNIX for Advanced & Expert Users

put data in excel file using shell script

Hi. I wish to add data in a specific excel file on daily basis.However the currect dat's data should always come on top i.e for example should always occupy cell A7,B7,C7 .. and the data of day before which was earlier on 7th row of each coloumn should move to 8th row..data on 8th row should... (1 Reply)
Discussion started by: kanus
1 Replies

6. Shell Programming and Scripting

Data formatting in CSV file to EXCEL

Hello friends I want to convert an csv file on unix (which is generated by a ETL application) to a formatted excel sheet like .I have roughly like 28 columns 1)All numbers need to be stored as numbers with leading zeros-like format as text for this column to preserve leading zeroes e.g... (6 Replies)
Discussion started by: etldev
6 Replies

7. Shell Programming and Scripting

Script to generate Excel file or to SQL output data to Excel format/tabular format

Hi , i am generating some data by firing sql query with connecting to the database by my solaris box. The below one should be the header line of my excel ,here its coming in separate row. TO_CHAR(C. CURR_EMP_NO ---------- --------------- LST_NM... (6 Replies)
Discussion started by: dani1234
6 Replies

8. Shell Programming and Scripting

Formatting data to put it in the excel file

Hello, I have a file with the below contents : Policy Name: Backup_bkp Policy Type: Catalog_bkp Active: yes Effective date: 08/07/2013 02:02:12 Mult. Data Streams: no Client Encrypt: no Checkpoint: no Policy Priority: ... (11 Replies)
Discussion started by: rahul2662
11 Replies
vcrop(1Vi)																vcrop(1Vi)

NAME
vcrop - crop an image SYNOPSIS
vcrop [-option ...] [infile] [outfile] DESCRIPTION
vcrop crops a file of images using a cropping rectangle specified by command line options. COMMAND LINE OPTIONS
vcrop accepts the following options: -help Prints a message describing options. -in infile Specifies a Vista data file containing the input images. -out outfile Specifies where to write the cropped images as a Vista data file. -top row Specifies the first (top) row of the cropping rectangle. -bottom row Specifies the last (bottom) row of the cropping rectangle. -left col Specifies the first (leftmost) column of the cropping rectangle. -right col Specifies the last (rightmost) column of the cropping rectangle. -height nrows Specifies the height of the cropping rectangle. -width ncols Specifies the width of the cropping rectangle. The cropping rectangle must be unambiguously specified by using any two of -top, -bottom, and -height, plus any two of -left, -right, and -width. The cropping rectangle may fall partially or completely outside an image it is cropping; in that case, the area outside is filled with zeros. Input and output files can be specified on the command line or allowed to default to the standard input and output streams. SEE ALSO
vxcrop(1Vi), VImage(3Vi), Vista(7Vi) AUTHOR
Ralph Horstmann <horstman@cs.ubc.ca> Vista Version 1.12 24 April 1993 vcrop(1Vi)
All times are GMT -4. The time now is 09:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy