Sponsored Content
Top Forums Shell Programming and Scripting separating comma delimited words Post 302348505 by rider29 on Friday 28th of August 2009 12:49:18 PM
Old 08-28-2009
CPU & Memory separating comma delimited words

Hi,

I have file with text

________________________________
GROUP:firstname1.lastname1,first_name2.last_name2,first_name3.last_name3
HEAD:firstname.lastname
________________________________


I need help to pick the names separately ie..

Need out put
as
var1 =firstname1.lastname1
Var2=first_name2.last_name2
..
var n=firstname.lastname

or keep them in a array
array[names]


Please help
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Converting Tab delimited file to Comma delimited file in Unix

Hi, Can anyone let me know on how to convert a Tab delimited file to Comma delimited file in Unix Thanks!! (22 Replies)
Discussion started by: charan81
22 Replies

2. Shell Programming and Scripting

Merging files into a single tab delimited file with a space separating

I have a folder that contains say 50 files in a sequential order: cdf_1.txt cdf_2.txt cdf_3.txt cdf_3.txt . . . cdf_50.txt. I need to merge these files in the same order into a single tab delimited file. I used the following shell script: for x in {1..50}; do cat cdf_${x}.txt >>... (3 Replies)
Discussion started by: Lucky Ali
3 Replies

3. Shell Programming and Scripting

Separating delimited file by pattern with exclusion list

I have a file with the contents below jan_t=jan;feb_t=feb;mar_t=mar;year=2010 jan_t=null;feb_t=feb;mar_t=mar;year=2010 jan_t=jan;feb_t=feb;mar_t=mar;year=2010 I want to extract out all the fields values ending with "_t" , however, i want to exclude feb_t and mar_t from the results In... (6 Replies)
Discussion started by: alienated
6 Replies

4. Shell Programming and Scripting

Keeping Null's as it is and separating them by Comma

Hi, I am having source (Oracle) as given below. SourceOBJECT_NAMESUBOBJECT_NAMEOBJECT_IDDATA_OBJECT_IDOBJECT_TYPECREATEDLAST_DDL_TIMESTAMPSTATUSTGSTEST 336559336559TABLE4/15/2009 10:374/15/2009 10:372009-04-15:10:37:57VALIDNNNUNIX 336559336559TABLE4/15/2009 10:374/15/2009... (3 Replies)
Discussion started by: arunvasu2
3 Replies

5. Shell Programming and Scripting

Separating list of input files (*.file) with a comma in bash script

Hi all, I'm trying to get a bash script working for a program (bowtie) which takes a list of input files (*.fastq) and assembles them to an output file (outfile.sam). All the .fastq files are in one folder in my home directory (~/infiles). The problem is that the 'bowtie' requires that... (7 Replies)
Discussion started by: TuAd
7 Replies

6. Shell Programming and Scripting

Need a script to convert comma delimited files to semi colon delimited

Hi All, I need a unix script to convert .csv files to .skv files (changing a comma delimited file to a semi colon delimited file). I am a unix newbie and so don't know where to start. The script will be scheduled using cron and needs to convert each .csv file in a particular folder to a .skv... (4 Replies)
Discussion started by: CarpKing
4 Replies

7. Homework & Coursework Questions

ASCII comma-delimited

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Hi Guys, I am new on the scripting world and would like ask for help if you can. Here are my questions... (1 Reply)
Discussion started by: mahiwaga
1 Replies

8. Shell Programming and Scripting

Separating words in a line

Hi I have the following file # cat red it.d-state = 50988 41498 45 0 0 0 it.age_buffer= 1500 it.dir = 1 I need to grep lines that are present after "=" But when I do so, few lines has more than one value and some has one How to parse the line I have used the follwing... (6 Replies)
Discussion started by: Priya Amaresh
6 Replies

9. Shell Programming and Scripting

Help/Advise please for converting space delimited string variable to comma delimited with quote

Hi, I am wanting to create a script that will construct a SQL statement based on a a space delimited string that it read from a config file. Example of the SQL will be For example, it will read a string like "AAA BBB CCC" and assign to a variable named IN_STRING. I then concatenate... (2 Replies)
Discussion started by: newbie_01
2 Replies

10. Shell Programming and Scripting

Awkscript to reduce words delimited with comma on right hand to columns

I have a large database with the following structure: Indicword,Indicword,Indicword=English on a line. Not all lines will have this structure. Some might have a single word mapping to a single word in Indic. An example will make this clear ... (4 Replies)
Discussion started by: gimley
4 Replies
Biber::Entry::Name(3pm) 				User Contributed Perl Documentation				   Biber::Entry::Name(3pm)

NAME
Biber::Entry::Name - Biber::Entry::Name objects new Initialize a Biber::Entry::Name object, optionally with key=>value arguments. Ex: Biber::Entry::Name->new( lastname=>"Bolzmann", firstname=>"Anna Maria", prefix => "von" ) TO_JSON Serialiser for JSON::XS::encode notnull Test for an empty object was_stripped Return boolean to tell if the passed field had braces stripped from the original set_hash Set a hash for the name get_hash Get a hash for the name set_index Set a field telling what position in the name list the name is get_index Get the index of a Biber::Entry::Name object set_uniquename Set uniquename for a visible Biber::Entry::Name object Sets global flag to say that some uniquename value has changed set_uniquename_all Set uniquename for a Biber::Entry::Name object get_uniquename Get uniquename for a visible Biber::Entry::Name object get_uniquename_all Get uniquename for a Biber::Entry::Name object reset_uniquename Reset uniquename for a Biber::Entry::Name object set_minimal_info Set the string of lastnames and string of fullnames Used to track uniquename=5 or 6 get_minimal_info Get the name context used to track uniquename=5 or 6 get_namepart Get a namepart by passed name set_firstname Set firstname for a Biber::Entry::Name object get_firstname Get firstname for a Biber::Entry::Name object get_firstname_i Get firstname initials for a Biber::Entry::Name object set_middlename Set middlename for a Biber::Entry::Name object get_middlename Get middlename for a Biber::Entry::Name object get_middlename_i Get middlename initials for a Biber::Entry::Name object set_lastname Set lastname for a Biber::Entry::Name object get_lastname Get lastname for a Biber::Entry::Name object get_lastname_i Get lastname initials for a Biber::Entry::Name object set_suffix Set suffix for a Biber::Entry::Name object get_suffix Get suffix for a Biber::Entry::Name object get_suffix_i Get suffix initials for a Biber::Entry::Name object set_prefix Set prefix for a Biber::Entry::Name object get_prefix Get prefix for a Biber::Entry::Name object get_prefix_i Get prefix initials for a Biber::Entry::Name object set_gender Set gender for a Biber::Entry::Name object get_gender Get gender for a Biber::Entry::Name object set_namestring Set namestring for a Biber::Entry::Name object get_namestring Get namestring for a Biber::Entry::Name object set_nameinitstring Set nameinitstring for a Biber::Entry::Name object get_nameinitstring Get nameinitstring for a Biber::Entry::Name object name_to_bbl { Return bbl data for a name name_to_bltxml { Add BibLaTeXML for the name to an XML::Writer object dump Dump Biber::Entry::Name object AUTHORS
Francois Charette, "<firmicus at ankabut.net>" Philip Kime "<philip at kime.org.uk>" BUGS
Please report any bugs or feature requests on our sourceforge tracker at <https://sourceforge.net/tracker2/?func=browse&group_id=228270>. COPYRIGHT &; LICENSE Copyright 2009-2012 Francois Charette and Philip Kime, all rights reserved. This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. perl v5.14.2 2012-06-17 Biber::Entry::Name(3pm)
All times are GMT -4. The time now is 03:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy