Currently I don't want to use int_outof because I want to
be backward compatible at least with openSUSE 10.3 when
I provide HPLIP packages via our openSUSE build service.
By the way:
A tiny note regarding use of "cut":
Usually I use "cut -s" to ignore non-matching lines.
Compare
echo -e "one,two\nthree\nfour,five" | cut -d ',' -f2
with
echo -e "one,two\nthree\nfour,five" | cut -s -d ',' -f2
Many thanks for the script and for the info!
Currently I don't want to use int_outof because I want to
be backward compatible at least with openSUSE 10.3 when
I provide HPLIP packages via our openSUSE build service.
By the way: nthree\ nfour,five" | cut -d ',' -f2 nthree\ nfour,five" | cut -s -d ',' -f2
A tiny note regarding use of "cut":
Usually I use "cut -s" to ignore non-matching lines.
Compare
echo -e "one,two\
with
echo -e "one,two\