On Wed, 2009-09-23 at 12:35 +1000, Trent W. Buck wrote:
> I get
> 
>     ls: cannot access /proc/acpi/battery: No such file or directory
> 
> because on my system, this information is computed thusly:
> 
>     backtick 2 120 0 sh -c 'cd /sys/class/power_supply/BAT0 && echo \ $((100 
> * `cat charge_now` / `cat charge_full`))%'
> 
> It is also bad form to use ls(1) programmatically; you should use
> globbing instead:  http://mywiki.wooledge.org/ParsingLs

Thanks for the report, and the pointer.

I have opened a bug in the upstream bug tracker at:
 * https://bugs.edge.launchpad.net/debian/+source/byobu/+bug/452405

I'll get this fixed.

Cheers,
:-Dustin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to