[Nagiosplug-checkins] CVS: nagiosplug/contrib urlize.pl,1.1.1.1,1.1.1.1.2.1

Karl DeBisschop kdebisschop at users.sourceforge.net
Mon Jun 9 21:56:05 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/contrib
In directory sc8-pr-cvs1:/tmp/cvs-serv16122

Modified Files:
      Tag: r1_3_0
	urlize.pl 
Log Message:
add comment relating to https://sourceforge.net/tracker/index.php?func=detail&aid=661916&group_id=29880&atid=397597


Index: urlize.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/contrib/urlize.pl,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.2.1
diff -C2 -r1.1.1.1 -r1.1.1.1.2.1
*** urlize.pl	28 Feb 2002 06:42:55 -0000	1.1.1.1
--- urlize.pl	10 Jun 2003 04:55:31 -0000	1.1.1.1.2.1
***************
*** 6,9 ****
--- 6,22 ----
  # A wrapper around Nagios plugins that provides a URL link in the output
  #
+ #Pay close attention to quoting to ensure that the shell passes the expected
+ # data to the plugin. For example, in:
+ #
+ #    urlize http://example.com/ check_http -H example.com -r 'two words'
+ #
+ # the shell will remove the single quotes and urlize will see:
+ #
+ #    urlize http://example.com/ check_http -H example.com -r two words
+ #
+ # You probably want:
+ #
+ #    urlize http://example.com/ \"check_http -H example.com -r 'two words'\"
+ #
  
  ($#ARGV < 1) && die "Incorrect arguments";





More information about the Commits mailing list