View Single Post
  #7   (View Single Post)  
Old 6th July 2011
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by IdOp View Post
A bit late to the party, but awk's sprintf() can be useful for this sort of thing,

Code:
for( j=9; j<12; j++ ) { system( sprintf( "cal %d 2011 ", j ) ) }
It is never too late Thank you so much!!! I love playing with AWK
Reply With Quote