Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/printer/xerox-wc7232-consumables | ||
|---|---|---|
| 27 | 27 |
|
| 28 | 28 |
#%# family=contrib |
| 29 | 29 |
#%# capabilities=autoconf |
| 30 |
|
|
| 30 |
|
|
| 31 | 31 |
=cut |
| 32 | 32 |
|
| 33 | 33 |
case $1 in |
| ... | ... | |
| 84 | 84 |
|
| 85 | 85 |
#toner and drum cartriges have both status and percentage |
| 86 | 86 |
|
| 87 |
TONER_STR=$(grep Toner "$TMP_DIR/$PRINTER_IP-stsply.htm")
|
|
| 87 |
TONER_STR=$(grep Toner "$TMP_DIR/$PRINTER_IP-stsply.htm") |
|
| 88 | 88 |
#info=info.concat([['Toner Cartridges',[['Cyan Toner [C]',0,77],['Magenta Toner [M]',7,1],['Yellow Toner [Y]',7,1],['Black Toner [K]',0,39]],3]]); |
| 89 | 89 |
|
| 90 |
DRUM_STR=$(grep Drum "$TMP_DIR/$PRINTER_IP-stsply.htm")
|
|
| 90 |
DRUM_STR=$(grep Drum "$TMP_DIR/$PRINTER_IP-stsply.htm") |
|
| 91 | 91 |
#info=info.concat([['Drum Cartridges',[['Drum Cartridges',0,79]],1]]); |
| 92 | 92 |
|
| 93 | 93 |
echo -n "cyan.value " |
| ... | ... | |
| 106 | 106 |
echo $DRUM_STR | egrep -o "s',[0-9],[0-9]{1,2}" | egrep -o "[0-9]{1,2}$"
|
| 107 | 107 |
|
| 108 | 108 |
rm $TMP_DIR/$PRINTER_IP-stsply.htm |
| 109 |
|
|
| 109 |
|
|
Formats disponibles : Unified diff