Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 10762  |
|  Daniel Path to Rick Smith  |
|  bash script and grep  |
|  02 Feb 23 14:39:49  |
 
REPLY: 1:105/10 63da89be
MSGID: 2:371/52@fidonet 63dbbd5a
PID: GED+2 1.1.4.7
CHRS: IBMPC 2
TZUTC: 0100
Hello Rick,
01 Feb 23 07:44, you wrote to All:
RS> Greetings All!
RS> I am trying to use a modified bash script from a fellow sysop to
RS> import msg areas into maximus bbs, I changed the particulars to my
RS> setup and left the rest alone. I get a grep error, I was hoping
RS> someone here could spot the error as grep is not my strong suit.
RS> here is the error running the script.
RS> Usage: grep [OPTION]... PATTERNS [FILE]...
RS> Try 'grep --help' for more information.
RS> (yes I typed help, did not help me)
RS> here are the two areas in the script calling grep
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$//'`
haha. thats my script :)
try: grep "1:105/81" or set it as a variable as in the original script ;)
Regards,
--
dp
-=>> telnet://bbs.roonsbbs.hu:1212 <<=-
... 3:38pm up 37 days, 17:43:33, load: 77 processes, 275 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 633 987 114/709 120/340 123/131
SEEN-BY: 124/5014 5016 129/305 153/7715 218/700 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 266/512 280/464 282/1038 317/3 320/219 322/757
SEEN-BY: 342/200 387/25 26 396/45 460/58 633/280 712/848
PATH: 371/52 0 240/1120 280/464 396/45 229/426
|
[ << oldest | < older | list | newer > | newest >> ]