This works assuming you have perl and the same whois output I do:
whois <object to whois on> | perl -ane 'print; if (/^$/) {exit};' As an example: whois saunter.us | perl -ane 'print; if (/^$/) {exit};' --- Michael Rasmussen, Portland Oregon Be Appropriate && Follow Your Curiosity On 2021-08-28 13:43, Keith Lofstrom wrote:
When I type "whois keithl.com" from the command line in a text terminal, I get 16 lines of useful information, one not-very-useful line of ">>> Last update "... , and 37 lines of useless boilerplate legalese, scrolling the useful lines off the top of a 24 line text window. I can probably write a shell script that deletes the trash. Has someone else already done so? Keith P.S. Henry VI, Part 2, Act IV, Scene 2: "The first thing we do, let's kill all the lawyers" $ killall lawyers lawyers: no process found