rdist problem with 'special' command
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > rdist problem with 'special' command




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    rdist problem with 'special' command  
Justin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10: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.





[ Post a follow-up to this message ]



    Re: rdist problem with 'special' command  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10: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




[ Post a follow-up to this message ]



    Re: rdist problem with 'special' command  
Justin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:11 PM

Bill Marcum <bmarcum@iglou.com.urgent> wrote in message news:<epo0d1-dcg.ln1@don.localnet>...[QUOT
E]
> On 8 Jan 2004 09:19:49 -0800, Justin
>   <justin_georgeson@yahoo.com> wrote: 
>
> Are you sure that the variable BASEFILE is set?[/QUOTE]

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.





[ Post a follow-up to this message ]



    Re: rdist problem with 'special' command  
Doug Freyburger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10: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.




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:56 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register