10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My source file looks like this:
Cust-Number = "101"
Cust-Number = "102"
Now I want to parse this file (leaving out hobby) and... (10 Replies)
Discussion started by: Balav
2. Shell Programming and Scripting
I have a file of ~500,000 entries in the following:
chr1 11868 12227 ENSG00000223972.5 . + HAVANA exon . gene_id "ENSG00000223972.5"; transcript_id "ENST00000456328.2"; gene_type "transcribed_unprocessed_pseudogene"; gene_status "KNOWN"; gene_name "DDX11L1"; transcript_type... (17 Replies)
Discussion started by: cmccabe
3. Shell Programming and Scripting
I wanted to parse a text file and join in specific format. please suggest me how to get this done..
The output should be in fasta format which consists of lines starting with ID, PT, PA and Sequence. "//" the two slashes are dividing lines between two different sequences.
Like... (10 Replies)
Discussion started by: empyrean
4. Shell Programming and Scripting
I have a file name version.properties with the following data:
I'm trying to write a grep expression to only put "14" to stdout. The following is not working.
grep "major.version=(+)" version.properties
What am I doing wrong? (6 Replies)
Discussion started by: obfunkhouser
5. Shell Programming and Scripting
I'm new to shell scripting and did a search on the forum to what I want to do but couldn't find anything.
I have about 9 routers that outputs to 1 syslog file daily named cisco.year.mo.date.log ex: cisco.2009.05.11.log
My goal is to make a parsing script that cats today's syslog... (2 Replies)
Discussion started by: jjrambar
6. Shell Programming and Scripting
I have a file, not really a csv, but containing delineated data just the same. Lets call that file "raw_data.txt". It contains data in the format of company name:fein number like this:
first company name:123456789
second company name:987654321
what i need to do is read this file, apply... (11 Replies)
Discussion started by: FreddyG
7. UNIX for Advanced & Expert Users
I have one file say CM.txt which contains values like below.Its just a flat file
total around 4 million lines of entries will be in that file.
Now i need to write another file CM1.txt which should have
Here i... (6 Replies)
Discussion started by: sivasu.india
8. Shell Programming and Scripting
I have a file that has a header followed by 8 columns of data. I want to toss out the header, and then write the data to another file with a different header and footer. I also need to grab the first values of the first and second column to put in the header.
How do I chop off the header? ... (9 Replies)
Discussion started by: craggm
9. Shell Programming and Scripting
i am attempting to parse a simple text file with multiple lines and four fields in each line, formatted as such:
12/10/2006 12:34:06 77 38
this is what i'm having problems with in my bash script:
sed '1,6d' $RAWDATA > $NEWFILE
#removes first 6 lines from file, which are... (3 Replies)
Discussion started by: klick81
10. UNIX for Dummies Questions & Answers
I have a text file which looks something like this
firstname.lastname@example.org, c:FilePath\Eddd.txt...so on
I want to write a shell script which will pick up the first field 'email@example.com' and... (12 Replies)
Discussion started by: Amruta Pitkar
cs_destroy(3) cs/cs.h cs_destroy(3)
cs_destroy - clean up and dealloc a parse tree
void cs_destroy (CSPARSE **parse);
parse - a pointer to a parse structure.
cs_destroy will clean up all the memory associated with a CSPARSE structure, including strings passed to cs_parse_string. This does not
clean up any memory allocated by your own CSOUTFUNC or the HDF data structure passed to cs_init. It is safe to call this with a NULL
pointer, and it will leave parse NULL as well (ie, it can be called more than once on the same var)
parse - will be NULL
cs_dump(3), cs_destroy(3), cs_render(3), cs_register_esc_strfunc(3), cs_arg_parsev(3), cs_register_fileload(3), cs_init(3), cs_regis-
ter_strfunc(3), cs_arg_parse(3), cs_parse_string(3), cs_parse_file(3), =(3), cs_register_function
ClearSilver 12 July 2007 cs_destroy(3)