| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

case

Page history last edited by PBworks 17 years, 2 months ago

case

  # atribuindo o valor da hora à variável $hh
  hh=$(date +%H)


  case $hh in 
     0[0-9]|1[0-1]) echo Bom dia;;
     1[2-7]) echo Boa Tarde;;
      *) echo Boa Noite ;;
   esac

Comments (0)

You don't have permission to comment on this page.