Search Results

Search: Posts Made By: Imane
13,104
Posted By alister
That for-loop from post #2 won't work with those...
That for-loop from post #2 won't work with those four months because, even if you wrap the months using modulo-12 arithmetic, the year is left unadjusted.

Regards,
Alister
13,104
Posted By alister
That won't work for Jan, Feb, Nov, and Dec. ...
That won't work for Jan, Feb, Nov, and Dec.



That documentation probably doesn't apply to your cal implemenation (it looks like the FreeBSD implementation). Those options are non-standard. Read...
13,104
Posted By sea
You could try: for months in 6 7 8 9 10;do cal...
You could try:
for months in 6 7 8 9 10;do cal $months $(date +'%Y');done

Hope this helps
Showing results 1 to 3 of 3

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