[PLUG] Bash script w/external data

pdxfiles pdxfiles at gmail.com
Sat Oct 29 01:03:20 UTC 2005


Hey all,
I have a csv file that I need a bash script to pull data from.

The format of the tab delimited csv file is...
last name, first name, other data, some more data

My ultimate goal is to get file.x to be renamed
lastname_first_otherdata_moredata.x for each user listed in the csv.

Is there a way for bash to pull the data line by line, or is another tool
needed? I couldn't seem to find anything that I could specify a line to
read. I think I could scrape the rest of the script together if I just could
find a way to read a specific line.

Any suggestions?

Thanks



More information about the PLUG mailing list