I have two files, one file contains a list of strings.
+stringa +Dog +Cat
+cat +Tux +elephant
and the second file (csv) contains something like:
"123456 Abc","+Stringx +123","something"
"23456 dEf","+cat +Tux +elephant","Other something"
"34524 xyz","+stringa +Dog +Cat","third something"
the result should be:
"123456 Abc","+Stringx +123","something"
"23456 dEf","+cat +tux +elephant","Other something"
"34524 xyz","+stringa +dog +cat","third something"
How I can change the strings, that match my list of patterns, to lowercase?
My comma-separated values file have about 30 columns and about 1500 rows.
perlbut it is available. I use Debian 8.9 (Jessie). The point is i like change only the pattern, not the whole file. I havesed,awk,tr