How can i pipe the ouput variables of CUT command to another command

Friday, July 4, 2014

i need some help regarding this issue ... !! I want to do something like this.



cat files_list | cut -d' ' -f1,3 | mysql -uroot -pxxxx -e "insert into table(var1, var2) values($f1,$f2)"


How can i achieve this thing ..!! Thanks in advance







http://ift.tt/1rsDsHo