The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-30-2009
depakjan depakjan is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 11
Exclamation append a text to a file every month

i have something like below in my SAS code and every month i need to append a text say 'ext.hlc_sum0906' near ext.hlc_sum0905 and next month after ext.hlc_sum0906 i need to append this 'ext.hlc_sum0907' and so on like that.. is it possible using SED or some other command in unix?

Code:
 
%let h2009  = ext.hlc_sum0901 ext.hlc_sum0902 ext.hlc_sum0903 ext.hlc_sum0904 ext.hlc_sum0905

Last edited by depakjan; 06-30-2009 at 05:23 AM..