LINUX-UBUNTU------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 11 из 13
 От   : Daniel Path                         2:371/52          02 фев 23 20:22:50
 К    : Wilfred van Velzen                                    02 фев 23 22:45:18
 Тема : bash script and grep
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:371/52@fidonet 63dc0dc7
@REPLY: 2:280/464 63dbe64a
@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/
$//``

 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/120 18/0 19/10 50/109 116/116 123/0 25
160 170 180 200 525 755
SEEN-BY: 123/3001 135/300 153/7715 222/2 240/1120
1634 8002 8005 250/1
SEEN-BY: 275/1000 280/464 291/111 299/6 301/1
335/364 371/0 52 452/166 466/50
SEEN-BY: 467/888 712/1321 2320/105 3634/0 12 12 27
56 57 119 5000/111
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
830 846 848 1042 4441
SEEN-BY: 5020/12000 5030/49 1081 1474 5054/8
5058/104 5064/56 5075/128 5083/1
SEEN-BY: 5083/444 5090/958
@PATH: 371/52 0 240/1120 3634/12 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх