I have a following line in one script:
cp "$uploaddir"/"$file" "$cvsdir"/"$device"
I would like to search if this exact line is present elsewhere in the script. Usually I would do yy and then /Ctrlr0. However, this time the line contains forward slashes. I also tried to specify "very nomagic"(
\V) after the forward slash, but this didn't help. I could obviously do
/cp "$uploaddir"\/"$file" "$cvsdir"\/"$device", but this is bit clunky. Is there a better way to search line from text which contains forward slashes without escaping each forward slash?