[aprssig] Too quiet - make packets

Curt Mills archer at eskimo.com
Fri Jun 9 13:05:24 EDT 2006


On Fri, 9 Jun 2006, Bill Vodall WA7NWP wrote:

> PS.  Is anybody here a TCL/Expect guru and know how to do the equivalent of a
> PERL -e "$line =~ s/\s{3,99}/  /"  to squish any sequence of 3 or more spaces
> down to 2 spaces?  I think that will significantly shorten the packets while
> not changing the resulting display.

Why not use "sed" to do the same thing?  Can you shell out from
TCL/Expect to do that?  I think so.

I've hacked on Tcl and Expect scripts before, but wouldn't remember
anything about it now.

-- 
Curt, WE7U.				archer at eskimo dot com
http://www.eskimo.com/~archer
  Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"




More information about the aprssig mailing list