stephen sefick wrote:
> echo 'hal-device | grep battery.remaining_time | awk '{print$3/3600}'
> | awk '{print int($1)}":"int(60*($1-int($1)))'`
>
> here is the final shell script is anyone is interested - this is
> written and working in debian linux
>   

it can't work -- you have unmatched quotes here.  you can also use a
variable in awk to spare one call to awk.

vQ

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to