garbage characters being returned in scripts

Rick Garland rick.garland at quantum.com
Thu Jul 21 16:45:26 CEST 2011






Yueh-Hung Liu <yuehung.liu <at> gmail.com> writes:

> 
> run this script on the HP machine manually as the user as nrpe will be.
> check what will happen.
> 

Confirmed, the garbage is there when running manually as nagios on the local
HPUX system. Seems the command puts the character there when executed,
you don't normally see it.

How to get rid of? I've been looking at 'tr'. Any other suggestions?

Thanks 



------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list