Hi all, im bit new to unix,
and now im trying to get one output of one varieble in a function (ksh script), but it seems to have problems with pipe character or maybe a space. Could u please give me some advice how to get through this?
thanks
MONITOR()
{
grep_rule=$1
echo "grep_rule= $1"
# in the output i get correctly the string : ./hob status | grep small | wc -l
...