in reply to Re: trapping output of cu(1)?
in thread trapping output of cu(1)?
Is there anything glaringly wrong with this approach?#!/usr/bin/perl -w use strict; open(IN, 'cu -l cuaU0 -s 4800 |') or die 'unable to connect'; while (<IN>) { print; } close IN;
Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: trapping output of cu(1)?
by superfrink (Curate) on Oct 03, 2007 at 21:44 UTC |