Subj : bash script and grep To : Wilfred van Velzen From : Daniel Path Date : Thu Feb 02 2023 20:22:50 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) .