Posts by Miguel Luís • 21 points
1 post
-
1
votes2
answers69
viewsQ: Script does not show the entire path
Code: for i in `find $1 -name $4 -type f` ; do path=`readlink -f $4` words=`cat "$i" | wc -w` echo "$path: $words palavras" done Prints: /home/miglui/Desktop/SO/teste.txt: 14 palavras…