Unix lesson. No need for CAT command. grep ALL.TXT -a ZV8L | grep -a PY1ZRJ
Aug AG5AT Sent from my iPad > On Feb 19, 2022, at 1:48 PM, Marco Calistri via wsjt-devel > <wsjt-devel@lists.sourceforge.net> wrote: > > > Hi again William! > > Please, be so kind to accept my apologies but you are extremely right! > > Using the -a switch has pemitted grep tp show the pattern correctly! > > marco@localhost:~/.local/share/WSJT-X> cat ALL.TXT |grep -a ZV8L|grep -a > PY1ZRJ > > 220218_150746 24.915 Tx FT8 0 0.0 1964 ZV8L PY1ZRJ GG87 > 220218_150815 24.915 Tx FT8 0 0.0 1964 ZV8L PY1ZRJ GG87 > 220218_150830 24.915 Rx FT8 5 0.2 1470 PY1ZRJ ZV8L +01 > 220218_150845 24.915 Tx FT8 0 0.0 1964 ZV8L PY1ZRJ R+05 > 220218_150900 24.915 Rx FT8 8 0.2 1470 PY1ZRJ ZV8L RRR > 220218_150915 24.915 Tx FT8 0 0.0 1964 ZV8L PY1ZRJ 73 > 220218_150930 24.915 Rx FT8 10 0.2 1469 PY1ZRJ ZV8L 73 > > And more important that the above, this one: > > marco@localhost:~/.local/share/WSJT-X> cat ALL.TXT |grep -a 3X2021|grep -a > PY1ZRJ|grep RR73 > > 220218_181600 21.080 Rx FT8 -12 0.2 754 <PY1ZRJ> 3X2021 RR73 > 220218_183200 21.080 Rx FT8 -12 0.2 764 <PY1ZRJ> 3X2021 RR73 > > Probably my bash history is causing that issue but it doesn't contains any > data inside, just text. > > Great suggestion! Thanks again William!!! > > Best regards! > > Marco > > --- > 73 de Marco, PY1ZRJ (former IK5BCU) > > > Il 19/02/22 14:01, Marco Calistri via wsjt-devel ha scritto: >> Hi William! >> >> This is not a matter of UNIX command syntax, the fact is that such string is >> not present in the file. >> >> Thanks and regards, >> >> Marco, PY1ZRJ >> >> Il 19/02/22 13:42, William Smith ha scritto: >>> Try -a with grep as per >>> >>> https://unix.stackexchange.com/questions/335716/grep-returns-binary-file-standard-input-matches-when-trying-to-find-a-string >>> >>> >>> 73, Willie N1JBJ >>> >>> >>>> >>>> On Feb 19, 2022, at 11:35 AM, Marco Calistri via wsjt-devel >>>> <wsjt-devel@lists.sourceforge.net> wrote: >>>> >>>> il file binario corrisponde >> >> >> >> >> _______________________________________________ >> wsjt-devel mailing list >> wsjt-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wsjt-devel > > > _______________________________________________ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel
_______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel