|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Subtracting months
Is there any way to subtract months ?
month=`date +%b` echo $month Jul month=$month-1 echo $month Jun How make this expression works fine? |
![]() |
| Viewing: Web Development Archives > FAQs > Unix/Linux > Subtracting months |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|