error in script
- by lego69
can somebody please help, I'm working with C-Shell, I'm trying to run this script
set callsTo = "`cut -d" " -f2 ${1}`"
echo $callsTo
cut receives data from the file which is the first parameter
> ./myscript data
I need only second field from every row -f2
after that I want to check if the data was stored, but I receive or an error unmatched `. or empty row, what is wrong with my script, thanks in advance for any help