razvanth21 Oct 6th, 2018 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #! /bin/sh
- if [ $# -ne 1 ]
- echo "Input file path."
- if [ -f $1 ]
- echo "Numarul de cuvinte din fisierul $1: `wc -w $1 | cut -f 1 -d ' '`"
- echo "Numarul de caractere din fisierul $1: `wc -m $1 | cut -f 1 -d ' '`"
RAW Paste Data