SHARE
TWEET

SO2

razvanth21 Oct 6th, 2018 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #! /bin/sh
  2.  
  3. if [ $# -ne 1 ]
  4. then
  5.     echo "Input file path."
  6.     exit
  7. fi
  8.  
  9. if [ -f $1 ]
  10. then
  11.     echo "Numarul de cuvinte din fisierul $1: `wc -w $1 | cut -f 1 -d ' '`"
  12.     echo "Numarul de caractere din fisierul $1: `wc -m $1 | cut -f 1 -d ' '`"
  13. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top