Search Results

Search: Posts Made By: Orbient
4,129
Posted By Scott
Hi. You could shorten it as such: ...
Hi.

You could shorten it as such:



time1=`date +%l:%M`

case `date +%H` in
0[0-4]) time2="in the early morning" ;;
0[5-9]|1[01]) time2="in the morning" ;;
1[2-6]) time2="in the...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy