|
Home > Archive > Unix administration > January 2004 > rdist problem with 'special' command
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
rdist problem with 'special' command
|
|
| Justin 2004-01-23, 5:11 pm |
| I have an rdist distfile which is giving me trouble on solaris. I
don't know what version of rdist (rdist -v just gives me a 'no
distfile' error and I don't seem to have a manpage installed on the
system!). In the distfile there are a few file sets which consist of
tar files. I have a special command for each of these to uncompress
the archive on the remote host
special "cd `echo ${REMFILE} | sed -e s/${BASEFILE}//`; tar xvf
${BASEFILE}; rm *.PRI; rm *LIP; rm ${BASEFILE}"
It works fine on Linux and Irix, but not on Solaris. On Solaris, it
gives me the error
"First RE may not be null"
I've tried the command without the curly braces, and that had no
effect.
| |
| Bill Marcum 2004-01-23, 5:11 pm |
| On 8 Jan 2004 09:19:49 -0800, Justin
<justin_georgeson@yahoo.com> wrote:quote:
> I have an rdist distfile which is giving me trouble on solaris. I
> don't know what version of rdist (rdist -v just gives me a 'no
> distfile' error and I don't seem to have a manpage installed on the
> system!). In the distfile there are a few file sets which consist of
> tar files. I have a special command for each of these to uncompress
> the archive on the remote host
>
> special "cd `echo ${REMFILE} | sed -e s/${BASEFILE}//`; tar xvf
> ${BASEFILE}; rm *.PRI; rm *LIP; rm ${BASEFILE}"
>
> It works fine on Linux and Irix, but not on Solaris. On Solaris, it
> gives me the error
>
> "First RE may not be null"
>
> I've tried the command without the curly braces, and that had no
> effect.
Are you sure that the variable BASEFILE is set?
--
Absurd Procrustean Egghead Cornstarch Variant Bill Marcum
| |
| Justin 2004-01-23, 5:11 pm |
| Bill Marcum <bmarcum@iglou.com.urgent> wrote in message news:<epo0d1-dcg.ln1@don.localnet>...quote:
> On 8 Jan 2004 09:19:49 -0800, Justin
> <justin_georgeson@yahoo.com> wrote:
>
> Are you sure that the variable BASEFILE is set?
According to the rdist man page on other systems, and at the rdist
homepage, that variable is set by rdist itself for the context of the
'special' command action.
| |
| Doug Freyburger 2004-01-23, 5:11 pm |
| Justin wrote:quote:
> Bill Marcum wrote:
>
>
>
>
>
> According to the rdist man page on other systems, and at the rdist
> homepage, that variable is set by rdist itself for the context of the
> 'special' command action.
So the man page have errors. Or ... You ARE using it on two different
systems. Have you checked the man page for it on both? Utilities are
not automatically the exact same on each vendor. Lot's of stuff gets
added to GNU utilities that aren't in the original Unix version.
|
|
|
|
|