I'm trying to set a variable in a Cygwin shell script. I try the following:
find . -name "*.pro" | while read filename
set V = $filename
set V = `echo $filename`
and I've tried a bunch of variations on the set theme, but the echo $V always gives a blank value.
How do I assign a variable in a script?