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 142 of 1,237   
   Jame Clay to Maurice Kinal   
   Extracting file names using Bash   
   06 Feb 12 11:20:50   
   
   Hi Maurice!   
      
   > Weird characters showing up here   
      
       Indeed, and I don't know where they come from...  (Tried a copy & paste   
   again but those extra chars aren't visible...)   
      
      
   > so I'll take the liberty of reposting your code below.   
      
       Appreciate that!   
      
      
   > ----- ye ol' gpm cut n' paste starts   
   > file="thisfile.txt"   
   > echo "filename: ${file%.*}"   
   > echo "extension: ${file##*.}"   
   > ----- ye ol' gpm cut n' paste ends   
      
       Yes, that's what it was supposed to look like.   
      
      
      
      
   Jame   
      
   --- BBBS/LiI v4.01 Flag   
    * Origin: BBBS Info at Rocasa (1:120/546)   

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


(c) 1994,  bbs@darkrealms.ca