<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Chris,<div><br></div><div>Thanks for the patch. Applied in git.</div><div><br></div><div>Ton</div><div><br><div><div>On 7 May 2009, at 20:50, Chris Pepper wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>You cannot post to the Nagios Plugin Development mailing list as you<br>are not subscribed. Due to the amount of spam and the administrative<br>burden, all emails from non-members will be automatically discarded.<br><br>Please subscribe at<br><a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a> and<br>repost your message.<br><br><br><br><br><br>Subject:<br>Typos in check_disk<br>From:<br>Chris Pepper <<a href="mailto:pepper@cbio.mskcc.org">pepper@cbio.mskcc.org</a>><br>Date:<br>Thu, 07 May 2009 15:39:08 -0400<br>To:<br><a href="mailto:nagiosplug-devel@lists.sourceforge.net">nagiosplug-devel@lists.sourceforge.net</a><br><br>    s/pathes/paths/<br><br>> Index: check_disk.c<br>> ===================================================================<br>> --- check_disk.c    (revision 2189)<br>> +++ check_disk.c    (working copy)<br>> @@ -661,19 +661,19 @@<br>>        break;<br>>      case 'E':<br>>        if (path_selected)<br>> -        die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting pathes\n"));<br>> +        die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting paths\n"));<br>>        exact_match = TRUE;<br>>        break;<br>>      case 'g':<br>>        if (path_selected)<br>> -        die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting pathes \n"));<br>> +        die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting paths \n"));<br>>        group = optarg;<br>>        break;<br>>      case 'I':<br>>        cflags |= REG_ICASE;<br>>      case 'i':<br>>        if (!path_selected)<br>> -        die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Pathes need to be selected before using -i/-I. Use -A to select all pathes explicitly"));<br>> +        die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Paths need to be selected before using -i/-I. Use -A to select all paths explicitly"));<br>>        err = regcomp(&re, optarg, cflags);<br>>        if (err != 0) {<br>>          regerror (err, &re, errbuf, MAX_INPUT_BUFFER);<br>> @@ -930,7 +930,7 @@<br>>    printf (" %s\n", "-e, --errors-only");<br>>    printf ("    %s\n", _("Display only devices/mountpoints with errors"));<br>>    printf (" %s\n", "-g, --group=NAME");<br>> -  printf ("    %s\n", _("Group pathes. Thresholds apply to (free-)space of all partitions together"));<br>> +  printf ("    %s\n", _("Group paths. Thresholds apply to (free-)space of all partitions together"));<br>>    printf (" %s\n", "-k, --kilobytes");<br>>    printf ("    %s\n", _("Same as '--units kB'"));<br>>    printf (" %s\n", "-l, --local");<br>> @@ -943,7 +943,7 @@<br>>    printf (" %s\n", "-m, --megabytes");<br>>    printf ("    %s\n", _("Same as '--units MB'"));<br>>    printf (" %s\n", "-A, --all");<br>> -  printf ("    %s\n", _("Explicitly select all pathes. This is equivalent to -R '.*'"));<br>> +  printf ("    %s\n", _("Explicitly select all paths. This is equivalent to -R '.*'"));<br>>    printf (" %s\n", "-R, --eregi-path=PATH, --eregi-partition=PARTITION");<br>>    printf ("    %s\n", _("Case insensitive regular expression for path/partition (may be repeated)"));<br>>    printf (" %s\n", "-r, --ereg-path=PATH, --ereg-partition=PARTITION");<br><br><br><br>Index: check_disk.c<br>===================================================================<br>--- check_disk.c    (revision 2189)<br>+++ check_disk.c    (working copy)<br>@@ -661,19 +661,19 @@<br>       break;<br>     case 'E':<br>       if (path_selected)<br>-        die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting pathes\n"));<br>+        die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set -E before selecting paths\n"));<br>       exact_match = TRUE;<br>       break;<br>     case 'g':<br>       if (path_selected)<br>-        die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting pathes \n"));<br>+        die (STATE_UNKNOWN, "DISK %s: %s", _("UNKNOWN"), _("Must set group value before selecting paths \n"));<br>       group = optarg;<br>       break;<br>     case 'I':<br>       cflags |= REG_ICASE;<br>     case 'i':<br>       if (!path_selected)<br>-        die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Pathes need to be selected before using -i/-I. Use -A to select all pathes explicitly"));<br>+        die (STATE_UNKNOWN, "DISK %s: %s\n", _("UNKNOWN"), _("Paths need to be selected before using -i/-I. Use -A to select all paths explicitly"));<br>       err = regcomp(&re, optarg, cflags);<br>       if (err != 0) {<br>         regerror (err, &re, errbuf, MAX_INPUT_BUFFER);<br>@@ -930,7 +930,7 @@<br>   printf (" %s\n", "-e, --errors-only");<br>   printf ("    %s\n", _("Display only devices/mountpoints with errors"));<br>   printf (" %s\n", "-g, --group=NAME");<br>-  printf ("    %s\n", _("Group pathes. Thresholds apply to (free-)space of all partitions together"));<br>+  printf ("    %s\n", _("Group paths. Thresholds apply to (free-)space of all partitions together"));<br>   printf (" %s\n", "-k, --kilobytes");<br>   printf ("    %s\n", _("Same as '--units kB'"));<br>   printf (" %s\n", "-l, --local");<br>@@ -943,7 +943,7 @@<br>   printf (" %s\n", "-m, --megabytes");<br>   printf ("    %s\n", _("Same as '--units MB'"));<br>   printf (" %s\n", "-A, --all");<br>-  printf ("    %s\n", _("Explicitly select all pathes. This is equivalent to -R '.*'"));<br>+  printf ("    %s\n", _("Explicitly select all paths. This is equivalent to -R '.*'"));<br>   printf (" %s\n", "-R, --eregi-path=PATH, --eregi-partition=PARTITION");<br>   printf ("    %s\n", _("Case insensitive regular expression for path/partition (may be repeated)"));<br>   printf (" %s\n", "-r, --ereg-path=PATH, --ereg-partition=PARTITION");<br><br>-- <br>Chris Pepper:                <<a href="http://cbio.mskcc.org/">http://cbio.mskcc.org/</a>><br>                             <<a href="http://www.extrapepperoni.com/">http://www.extrapepperoni.com/</a>><br><span><check_disk.diff></span>------------------------------------------------------------------------------<br>The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your<br>production scanning environment may not be a perfect world - but thanks to<br>Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700<br>Series Scanner you'll get full speed at 300 dpi even with all image <br>processing features enabled. <a href="http://p.sf.net/sfu/kodak-com_______________________________________________________">http://p.sf.net/sfu/kodak-com_______________________________________________________</a><br>Nagios Plugin Development Mailing List <a href="mailto:Nagiosplug-devel@lists.sourceforge.net">Nagiosplug-devel@lists.sourceforge.net</a><br>Unsubscribe at <a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel">https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel</a><br>::: Please include plugins version (-v) and OS when reporting any issue. <br>::: Messages without supporting info will risk being sent to /dev/null</div></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span lang="EN-GB" style="font-size: 12pt; font-family: Arial, sans-serif; color: rgb(74, 11, 113); ">Ton Voon</span><span lang="EN-GB" style="font-size: 14pt; font-family: Arial, sans-serif; color: rgb(74, 11, 113); "><br></span><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(74, 11, 113); ">Product Architect</span><span lang="EN-GB" style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-family: 'Times New Roman', serif; "></span><br class="Apple-interchange-newline"><span></span><span><img height="33" width="100" src="cid:image001.gif@01C923BC.C9EBFE00"></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span lang="EN-GB" style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(74, 11, 113); "><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">Opsera Limited | Unit 69 Suttons Business Park<br>Reading | Berkshire | RG6 1AZ | UK<b><br><br>Phone:   </b>+44 (0) 845 057 7887<br><b>Mobile</b></span><b><span lang="EN-GB" style="font-size: 9pt; font-family: 'Times New Roman', serif; color: rgb(74, 11, 113); ">:   </span></b><span lang="EN-GB" style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(74, 11, 113); ">+44 (0) 7931 365796<br><b>Skype</b>:   tonvoon     <b>Email:</b>   <u><a href="mailto:ton.voon@opsera.com" style="color: blue; text-decoration: underline; ">ton.voon@opsera.com</a></u></span><b><span style="font-size: 10pt; font-family: Arial, sans-serif; "><br></span></b><span lang="EN-GB" style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(74, 11, 113); "><a href="http://www.opsera.com/" target="_blank" title="http://www.opsera.com" style="color: blue; text-decoration: underline; "><span style="color: rgb(74, 11, 113); ">www.opsera.com</span></a><o:p></o:p></span></div><div style="margin-top: 0cm; margin-right: 0cm; margin-left: 0cm; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 6pt; font-family: Arial, sans-serif; color: gray; ">This e-mail is confidential, intended only for the named recipient(s) above and may contain information that is privileged and confidential. If you receive this message in error, or are not the named recipient(s), please notify the sender at the phone number above, do not copy this message, do not disclose its contents to anyone, and delete this e-mail message from your computer. Although Opsera routinely screens for viruses, addressees should scan this e-mail and any attachments for viruses. Opsera makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB.</span></div></span> </div></span></div></div></div></span></span></span></span></div><br></div></body></html>