Bash Script - Text (CSV) manipulation
该项目成功由RashinthaM ，以$25 USD的价钱在2 天内完成。为像这样的项目获取免费报价
Browse Related Skills
Other things people do on Freelancer
项目预算$10 - $30 USD
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!
- The New York Times
- Wall Street Journal
- Times Online