How do i print multiple variables in separate lines into a file using shell scripting
i need to select string from one csv file to another properties file using shell project.csv - this is the file which contains data like below & this may contain N number of lines/data PN549,projects.pn549 SaturnTV_SW,projects.saturntv_sw Need to collect each string "pn549" , "saturntv_sw" into a properties file properties [projects] pn549_pt=pn549 saturntv_sw_pt=saturntv_sw Below is the code i wrote to fetch the string and to print cat "project.csv" | while IFS='' read -r line; do Display_Name="$(echo "$line" | cut -d ',' -f 1 | tr -d '"')" project_name="$(echo "$TEMP_Name" | cut -d '.' -f 2)" echo "$project_name" echo "$project_name"_pt="$project_name" > /opt/properties How do i print multiple lines like i gave in example(properties)
i have got my answer, simply redirected the output
What does if [ “x” != x ] do in bash?
use xargs to mv the “find” directory into another directory
How can a console command executed from a program create a graphical dialog to respond to an input prompt?
Function instead of alias in C shell login script
difference between $() and `` reviewed [closed]
Using Headless FireFox to Save All HTML files using command line in Linux
ImageMagik doesnt convert in shell
Applescript or shellscript to delete config file?
How to get every character in a string in shell?
The Sort command does not work as expected
get last line from grep search on multiple files
Automatically close MsgBox in vbscript?
shell script executing several shell scripts for cron
removing files that have extenstion .bin then printing bye
Using Net::SSH Ruby library to remote command execution that requires sudo su - another user
Display all fields except the last