[Goodies-dev] [Bug 4909] New: Command using pipe doesn't work

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Feb 5 19:51:17 CET 2009


http://bugzilla.xfce.org/show_bug.cgi?id=4909

           Summary: Command using pipe doesn't work
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC (x86)
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: genmon
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: dgentikian at gmail.com


I recently dicover the genmon plugin, when i try the command line :

uptime | awk {'print $10'} | sed 's/,//g'

The plugin don't works and shows "xxx" instead of the uptime like "0.30"
If i create a Shell script name script.sh with : 

#/bin/bash

uptime | awk {'print $10'} | sed 's/,//g'

And insert the script in the plugin's command line, it works well.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Goodies-dev mailing list