home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   TUXPOWER      Advocacy for the Linux operating system      1,237 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 110 of 1,237   
   Maurice Kinal to Ben Ritchey   
   further adventures with bash   
   03 Oct 11 16:38:08   
   
   Hey Ben!   
      
   ----- ye ol' vim insert of fetchem.sh starts   
      
   huskysite=http://husky.cvs.sf.net/viewvc/husky   
      
   for tarball in huskybse huskylib smapi fidoconf areafix hpt; do   
     wget "$huskysite/$tarball/?view=tar" -O $tarball.tgz   
   done   
      
   ----- ye ol' vim insert of fetchem.sh ends   
      
   If you snip the above code to a directory where you wish to store the   
   Husky Project source and save it as fetchem.sh then from the prompt do;   
      
     sh fetchem.sh   
      
   it should fire up 'wget' to nab the c code from the appropriate   
   directory on the server and output it to a gzipped tarball in whatever   
   local directory you are running the fetchem.sh in.  It's a fairly   
   simple script other than the wget part and is a good demonstration   
   of a bash 'for' loop as well as testing your local tar and gzip.   
   I purposely used the 'tgz' suffix as opposed to the usual 'tar.gz'   
   since I am uncertain about filename schemes in NT but suspect it is   
   limited to 3 charaters after the '.' character.   
      
   Once you are ready I can try to decifer the build strategy for cygwin   
   as it applies to the above souces.  There is a certain order you must   
   follow for any of it to work.   
      
   Life is good,   
   Maurice   
      
   --- GNU bash, version 4.2.10(2)-release (x86_64-atom-linux-gnu)   
    * Origin: Pointy Stick Society (1:261/38.9)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca