Guest User

Untitled

a guest
Apr 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. for i in $@
  2. do
  3. if [ -z $i ] || [ $(echo $i|sed -n -e '/[ [:punct:] ]/p' ) ]; then
  4.  
  5. echo "Error, repita la ejecucion del Script";
  6. exit;
  7.  
  8. fi
  9.  
  10. done
  11.  
  12. for i in $@
  13. do
  14. echo
  15. echo
  16. echo "La cadena de caracteres ($i) coincide con estos archivos: ";
  17. find / -name *$i* -type f >cuenta.txt
  18. cat cuenta.txt;
  19.  
  20. done
Add Comment
Please, Sign In to add comment