Re: [Shell script] question.

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57859
interpreted = N
texte = They are both running under the same user, and I run several other [Shell scripts] without any problem. The .netrc file is created in the same home folder as the user, and has been chmod'd to only give owner access. Mark. On 14 May 2004, at 23:07, William DeVaul wrote: > Sounds like a permissions issue. Does WebCatalog have the same rights > as > you do at the terminal? > > Bill > >> I know it's doing what it thinks it needs to do, >> the problem is that this is the command you run in the terminal >> window to get OSX to run whatever macros you have placed in your >> .netrc >> file. >> >> AFAIN, the $ is supposed to tell OSC to run the macro, but in this >> case >> it doesn't seem to be. >> >> I've tried all the various [raw][url][unurl] combinations, but still >> no >> luck. >> >> Is there another way to launch a .netrc macro? >> >> Thanks. >> >> Mark. >> >> >> >> >> On 14 May 2004, at 1:56 pm, kalin@el.net wrote: >> >>>> I'm trying (without much success) to get a shell script to work. >>>> Running v6, along with WebSTAR 5.3.2 under OSX (10.3.2) >>>> >>>> I have a macro loaded into my .netrc file, and when run from the >>>> terminal, it runs just great. >>>> >>>> echo "\$ webdb | ftp xxx.xxx.xxx.xxx" >>>> >>>> However, when I try to run it from within a Sandbox Script, it's >>>> just >>>> displaying >>>> >>>> $ webdb | ftp xxx.xxx.xxx.xxx >>> >>> it's doing exactly what you are telling it to do - it displays the >>> string >>> in the ""... >>> >>> what are you trying to do?! >>> >>>> >>>> I've tried adding /bin/ before the command, but still no luck. >>>> >>>> Any suggestions? >>>> >>>> Thanks. >>>> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [Shell script] question. ( Mar Derricck 2004)
  2. Re: [Shell script] question. ( William DeVaul 2004)
  3. Re: [Shell script] question. ( Mark Derrick 2004)
  4. Re: [Shell script] question. ( kalin@el.net 2004)
  5. [Shell script] question. ( Mark Derrick 2004)
They are both running under the same user, and I run several other [Shell scripts] without any problem. The .netrc file is created in the same home folder as the user, and has been chmod'd to only give owner access. Mark. On 14 May 2004, at 23:07, William DeVaul wrote: > Sounds like a permissions issue. Does WebCatalog have the same rights > as > you do at the terminal? > > Bill > >> I know it's doing what it thinks it needs to do, >> the problem is that this is the command you run in the terminal >> window to get OSX to run whatever macros you have placed in your >> .netrc >> file. >> >> AFAIN, the $ is supposed to tell OSC to run the macro, but in this >> case >> it doesn't seem to be. >> >> I've tried all the various [raw][url][unurl] combinations, but still >> no >> luck. >> >> Is there another way to launch a .netrc macro? >> >> Thanks. >> >> Mark. >> >> >> >> >> On 14 May 2004, at 1:56 pm, kalin@el.net wrote: >> >>>> I'm trying (without much success) to get a shell script to work. >>>> Running v6, along with WebSTAR 5.3.2 under OSX (10.3.2) >>>> >>>> I have a macro loaded into my .netrc file, and when run from the >>>> terminal, it runs just great. >>>> >>>> echo "\$ webdb | ftp xxx.xxx.xxx.xxx" >>>> >>>> However, when I try to run it from within a Sandbox Script, it's >>>> just >>>> displaying >>>> >>>> $ webdb | ftp xxx.xxx.xxx.xxx >>> >>> it's doing exactly what you are telling it to do - it displays the >>> string >>> in the ""... >>> >>> what are you trying to do?! >>> >>>> >>>> I've tried adding /bin/ before the command, but still no luck. >>>> >>>> Any suggestions? >>>> >>>> Thanks. >>>> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Mar Derricck

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Log-in Scheme (2003) WebCat 5 Intranet Question (2003) back button problem (1999) [template] tag (1998) UPDATE PROBLEM (1997) WebCat2b13 Command Reference Doc error (1997) Grant, please help me ... (1997) First postarg not taking in $Commands (1997) What is the syntax for MIME type on Apache server? (2000) docs for WebCatalog2 (1997) email address scrambling (2002) WebCatalog Technical Reference (1997) Some Questions (1997) problems with 2 tags shakur (1997) Search Engine questions ... (2002) no global [username] or [password] displayed ... (1997) Credit Card not accepted (1998) [WebDNA] Authorize working connection... (2020) [ot] Any One Want A WebDNA Billing Program? (2003) passing a webdna variable into javascript/cgi (2002)