home bbs files messages ]

Just a sample of the Echomail archive

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

 Message 10766 
 Daniel Path to Wilfred van Velzen 
 bash script and grep 
 02 Feb 23 20:22:50 
 
REPLY: 2:280/464 63dbe64a
MSGID: 2:371/52@fidonet 63dc0dc7
PID: GED+2 1.1.4.7
CHRS: IBMPC 2
TZUTC: 0100
Hello Wilfred,

02 Feb 23 17:30, you wrote to me:

 WV> Hi Daniel,

 WV> On 2023-02-02 14:39:49, you wrote to Rick Smith:

 RS>>> cat /fido/etc/areas_fidonet | grep EchoArea | grep 1:105/81
 RS>> |sort>> $TMPFILE while read -r line do        TAGLONG=`echo
 RS>>> $line|awk {'print $2'}`        TAGSHORT=`echo $line|awk {'print
 RS>>> $2'}|sed s/FIDO_//`        FILE=`echo $line|awk {'print $3'}`
 RS>>> DESC=`cat backbone.na | grep $TAGLONG | awk '{$1="";
 RS>>> print $0}'|sed 's/\r$//'`

 DP>> try: grep "1:105/81" or set it as a variable as in the original
 DP>> script

 WV> Strange... On my linux in bash these give the same result:

 WV> # echo 1:1/1 | grep 1:1/1
 WV> 1:1/1

 WV> # echo 1:1/1 | grep "1:1/1"
 WV> 1:1/1

yes, macos confirmed.

 WV> There is an alias for grep:
 WV> alias grep='grep --color=auto'

 WV> But that shouldn't make a difference. Maybe on ubuntu it's different?

dunno, i don't have ubuntu here (because of these simple shitty things )
:)

Regards,
--
dp

-=>> telnet://bbs.roonsbbs.hu:1212 <<=-

... 9:13pm  up 37 days, 23:18:36, load: 79 processes, 281 threads.
--- GoldED/2 1.1.4.7+EMX
 * Origin: Roon's BBS - Budapest, HUNGARY (2:371/52)
SEEN-BY: 1/123 15/0 90/1 105/81 106/201 114/709 120/340 123/131 124/5016
SEEN-BY: 129/305 153/757 7715 203/0 218/700 221/0 226/30 227/114 229/110
SEEN-BY: 229/111 112 113 114 206 307 317 400 424 426 428 470 550 616
SEEN-BY: 229/664 700 240/1120 1634 5832 8002 8005 266/512 280/464
SEEN-BY: 282/1038 291/111 292/8125 301/1 317/3 320/219 322/757 335/364
SEEN-BY: 341/66 234 342/200 371/0 52 396/45 460/58 633/267 280 281
SEEN-BY: 633/384 412 416 418 420 712/848 3634/12
PATH: 371/52 0 240/1120 280/464 633/280 229/426


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

(c) 1994,  bbs@darkrealms.ca