Subj : bash script and grep To : All From : Rick Smith Date : Wed Feb 01 2023 07:44:02 Greetings All! I am trying to use a modified bash script from a fellow sysop to import msg areas into maximus bbs, I changed the particulars to my setup and left the rest alone. I get a grep error, I was hoping someone here could spot the error as grep is not my strong suit. here is the error running the script. Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information. (yes I typed help, did not help me) here are the two areas in the script calling grep cat /fido/etc/areas_fidonet | grep EchoArea | grep 1:105/81 |sort> $TMPFILE while read -r line do TAGLONG=`echo $line|awk {'print $2'}` TAGSHORT=`echo $line|awk {'print $2'}|sed s/FIDO_//` FILE=`echo $line|awk {'print $3'}` DESC=`cat backbone.na | grep $TAGLONG | awk '{$1=""; print $0}'|sed 's/\r$//'` ---- Regards, Rick Smith (Nitro) .... BBSing is terminal --- GoldED+/LNX 1.1.5-b20220504 * Origin: ----> Abacus BBS! --->>>>bbs.abon.us:2323 (1:105/10) .