I have problem in understeanding C-shell executing command. I don't know which brackets I should use / or maybe I set variable in a wrong way? Guide me if you can spare a moment
#!/bin/csh -f
if ( "$1" == "yes" ) then
ls -la
set path = `pwd | grep -c yes`
ls -la
endif
First ls -la execute normally, but after setting a variable between, second one gives back error "ls: Command not found."
What Im missing here?