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.

   LINUX-UBUNTU      The Ubuntu Linux Distribution Discussion      10,769 messages   

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

   Message 10,764 of 10,769   
   Wilfred van Velzen to Daniel Path   
   Re: bash script and grep   
   02 Feb 23 17:30:09   
   
   TID: FMail-lnx64 2.1.5.2-B20230114   
   RFC-X-No-Archive: Yes   
   TZUTC: 0100   
   CHRS: UTF-8 2   
   PID: GED+LNX 1.1.5-b20161221   
   MSGID: 2:280/464 63dbe64a   
   REPLY: 2:371/52@fidonet 63dbbd5a   
   Hi Daniel,   
      
   On 2023-02-02 14:39:49, you wrote to Rick Smith:   
      
    RS>> cat /fido/etc/areas_fidonet | grep EchoArea | grep 1:105/81 |sort>   
    RS>> $TMPFILE while read -r line do   
    RS>>         TAGLONG=`echo $line|awk {'print $2'}`   
    RS>>         TAGSHORT=`echo $line|awk {'print $2'}|sed s/FIDO_//`   
    RS>>         FILE=`echo $line|awk {'print $3'}`   
    RS>>         DESC=`cat backbone.na | grep $TAGLONG | awk '{$1=""; print   
    RS>> $0}'|sed 's/\r$//'`   
      
    DP> try: grep "1:105/81" or set it as a variable as in the original script   
      
   Strange... On my linux in bash these give the same result:   
      
   # echo 1:1/1 | grep 1:1/1   
   1:1/1   
      
   # echo 1:1/1 | grep "1:1/1"   
   1:1/1   
      
   There is an alias for grep:   
   alias grep='grep --color=auto'   
      
   But that shouldn't make a difference. Maybe on ubuntu it's different?   
      
      
   Bye, Wilfred.   
      
   --- FMail-lnx64 2.1.5.2-B20230114   
    * Origin: FMail development HQ (2:280/464)   
   SEEN-BY: 1/19 123 15/0 16/0 19/37 90/1 105/81 106/201 114/709 120/340   
   SEEN-BY: 123/130 131 124/5016 129/305 142/104 153/757 7715 203/0 218/700   
   SEEN-BY: 221/0 226/30 227/114 229/110 111 112 113 114 206 307 317   
   SEEN-BY: 229/400 424 426 428 470 550 616 664 700 240/420 1120 5411   
   SEEN-BY: 240/5832 5853 266/512 280/464 282/1038 292/8125 301/1 317/3   
   SEEN-BY: 320/119 219 319 2119 322/0 757 341/66 234 342/200 396/45   
   SEEN-BY: 460/58 633/280 712/848   
   PATH: 280/464 240/5832 320/219 229/426   
      

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


(c) 1994,  bbs@darkrealms.ca