I am supposed to find a file recursively in a given directory. Rules are not to use find and recursive options like ls -R and grep -r. I can any other other option expect recursive.
I had written the script using recursion.
#!/bin/csh
foreach i (`ls -R $1 | grep : | sed 's/://'`)
readlink -f "$i/$2"
end
Please help me solve this. It is quite urgent.
Thanx