Bash Script - Text (CSV) manipulation

I need a script to manipulate text from my command line. I am on a Mac so the script has to be in bash.

usage: [url removed, login to view] contentfile masterfile column

your script will open the contentfile (in my example: [url removed, login to view]) strip it from LF and CR and will then insert (overwrite if anything should be there) the content of the columns in line 1 to the masterfile, as lines in the specified column.

Yes, I know…I am not that good at explaining ;-) So here is an example…

Input in terminal: [url removed, login to view] [url removed, login to view] [url removed, login to view] 1

Explaination: script, inputfile, outputfile, column to write in

Should produce a file like [url removed, login to view]

File delimiter is and should always be ";" and encoding is UTF8.

If you understood what i mean…you´re good!! :-)

If not, feel free to ask…

Thank you for your efforts!

技能: Linux, Mac 操作系统, shell脚本

查看更多: convert text csv python script, write csv action script, python script parse csv text file, parse text file data csv ruby script, asp script database write csv, software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, csv text search script, software write websites idea, software write book images, software write books, convert csv text script, software write protection, free software write book, software write book

( 28个评论 ) Klosterneuburg, Austria

项目ID: #11788555



I'm a linux developer. I could program it with linux. But I don't have Mac to test it. But since Mac and Linux is based on same base, it should be worked on mac os too.

$25 USD 在2天内

5 威客就此工作平均出价 $40

$30USD 在1天里

A proposal has not yet been provided

$100 USD 在2天内

I can give u the script in next one hour. Please let me know if we can work together.. Thanks Kaja

$20USD 在1天里
$25 USD 在2天内