SHARE
TWEET

Untitled

a guest Apr 18th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!bin/bash/
  2. dt=`date  "+%d %m"`
  3. lista=""
  4. while [ ! -z $1 ];
  5. do
  6. if [ -e $1 ]; #verific daca fisierul este valid
  7. then
  8. pers=`cat $1 | grep "$dt" | cut -d"-" -f2 `
  9. for el in $pers
  10. do
  11. lista="$lista\n$el"
  12. done
  13. fi
  14.  
  15. if [ ! -e $1 ];
  16. then
  17. fi
  18.  
  19. shift
  20. done
  21.  
  22. echo "$lista"
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