home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.linux.advocacy      Torvalds farts & fans know what he ate      164,974 messages   

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

   Message 163,800 of 164,974   
   Gremlin to All   
   Quick and Dirty MID pulling script   
   25 Jan 26 00:49:53   
   
   XPost: alt.computer.workshop   
   From: nobody@haph.org   
      
   This script when run from console will try to pull the MID you pass via   
   command line. It will create a new file with the same name and store the   
   entire post if found in it. To pass the MID you'd do this:   
      
   getmid 'MID with brackets' and it will save the message under the same name   
   as the MID in the current folder you ran the command from.   
      
      
   COPY BEGIN HERE   
   #!/bin/sh   
      
   MID="$1"   
   printf 'ARTICLE %s\r\n' "$MID" | nc -q 5 paganini.bofh.team 119 > "$MID.txt"   
   END COPY HERE   
      
   Save the contents as getmid.sh   
   give it execute permission either via right click GUI options or at console   
   with chmod:   
      
   chmod +x getmid.sh   
   then sudo cp getmid.sh /usr/bin/getmid   
      
   Now it's available to you no matter where you are in the folders. Open a   
   terminal, getmid 'MID' and you will have a locally saved file containing the   
   message if one was found.   
      
   Useful for when HK (Howard Knight) is down. This will also pull the entire   
   post where as HK is truncated after so many lines.   
      
      
   --   
   Liar, lawyer; mirror show me, what's the difference?   
   Kangaroo done hung the guilty with the innocent   
   Liar, lawyer; mirror for ya', what's the difference?   
   Kangaroo be stoned. He's guilty as the government   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

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


(c) 1994,  bbs@darkrealms.ca