Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if test $# -eq 1; then
- str=`cat $1`
- fraze="${str//[^\.]/}"
- echo "Fisierul $1 contine ${#fraze} fraze"
- else
- echo "Sintaxa: $0 <file>"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement