Script Help?
Drew Lane
yellowdog-general@lists.terrasoftsolutions.com
Mon Nov 4 20:50:01 2002
Keary Suska wrote:
>>>tar -xzOf $pkg ./control.tar.gz | tar xzOf - ./control | sed -e
>>>"s/^Filename:.*//g" | grep -v '^$' | sed -e "s/^Description:/Filename:
>>>$sed_safe_pkg\\
>>>
>>>
>>After this line executes (under YDL), it just sits there waiting for input.
>>
>>
>
>What happens when you remove the "-" from the first command options:
> tar xzOf $pkg ./control.tar.gz
>?
>
>
>
Doesn't make any difference.
The only way I've been able to get this script working is to put the first
command on a seperate line and write a physical file and then read it in
on the next line.
I don't understand why the behaviour of tar is different on RH than on YDL?
Drew