probably simple but it escapes me now.
hpux 11.
need to remove a character from a variable in a script, don't have access to sed or awk.
basically:
but i need to add dctty to the grep pattern with out the leading '*' that is in the variable.
any suggestions?
thanks in advance.
regards,
longhair
hpux 11.
need to remove a character from a variable in a script, don't have access to sed or awk.
basically:
Code:
cat /files/dsdcwhd.txt | while read dcoff dctty dcmnth dcday dctime
do
finger -i |grep $dcoff >> /files/dsdcwhd1.txt
done
any suggestions?
thanks in advance.
regards,
longhair