Re: shell problems again...
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49040
interpreted = N
texte = I installed zip-3.2 from 4.6.2-RELEASE and it works with [shell]/usr/local/bin/zip [filename].zip [filename]Re-check your path to zip utilityTry with zip-3.2 if you have different version----- Original Message -----From: Kalin Mintchev
To: WebDNA Talk Sent: Friday, March 28, 2003 11:29 AMSubject: Re: shell problems again...>> Hi Le,>> long time... the OS now is FreeBSD 4.6 with WC 4.5> simple commands work. ls -al does. the /usr/bin/zip [filename].zip> [filename] doesn't. gzip [filename] works....> i really need to use zip.> i also posted long time ago messages about executing a shell script that> i was passing variables to..>> thanks..>> On Fri, 28 Mar 2003, Le Pham wrote:>> > This quick test code works on Redhat7.3 What is your OS?> >> > [text]filename=textfile.txt[/text]> > [shell]> > /usr/bin/zip [filename].zip [filename]> > [/shell]> >> > The ls command works also> >> > > > [shell]> > ls -la> > [/shell]> >
> >> > Try it to see the results on your system.> >> > Thanks,> > Le> >> > ----- Original Message -----> > From: Kalin Mintchev > > To: WebDNA Talk > > Sent: Thursday, March 27, 2003 7:22 PM> > Subject: Re: shell problems again...> >> >> > >> > > ok. ther it is again...> > > got zip and installed it. libraries, etc.... it works fine on thecommand> > > line BUT this doesn't work in the [shell]> > >> > > [text]do=/usr/sbin/zip [file_name].zip [file_name][/text]> > > [shell]> > > [do]> > > [/shell]> > >> > > i tried [raw] around it - nothing....> > > i'm thinking to do a shell script but i'd still have to pass thevariable> > > [file_name] to it...> > >> > > any ideas?> > >> > >> > >> > > On Thu, 27 Mar 2003, Kalin Mintchev wrote:> > >> > > > On Thu, 27 Mar 2003, Matthew A Perosi wrote:> > > >> > > > > grabbing at straws here...> > > > > i don't know how the commands and options are passed to the shellbut> > when i program in> > > > > perl i always have better results when i create a variable with my> > full command and then> > > > > just pass that single variable to the shell.> > > > >> > > > > i.e.> > > > >> > > > > [text]dothis=gzip -S .zip [file_name][/text]> > > > > [shell]> > > > > [dothis]> > > > > [/shell]> > > > thanks - i just saw that it doesn't work anyway... i don't know whyyet.> > > > apparently if you do:> > > >> > > > gzip -S .zip file> > > >> > > > is the same as> > > >> > > > gzip file> > > > mv file.gz file.zip> > > >> > > > not good, not good...> > > > i'm gonna get zip for bsd... thanks for helping out....> > > >> > > >> > > > >> > > > >> > > > > Matt> > > > >> > > > >> > > > > Kalin Mintchev wrote:> > > > >> > > > > > On Thu, 27 Mar 2003, Matthew A Perosi wrote:> > > > > >> > > > > > > i've never used the [shell] command in WebDNA but how about> > skinning the cat this> > > > > > > way...> > > > > > >> > > > > > > [shell]> > > > > > > gzip [file_name]> > > > > > > mv [file_name].gz [file_name].zip> > > > > > > [/shell]> > > > > >> > > > > > that doesn't work even on the comand line...> > > > > > i mean you can rename them but then you can uncompress them...> > gunzip and> > > > > > unzip are producing errors....> > > > > > apparently there is some difference in the decompression betwenthe> > gnu> > > > > > zip (gzip) and the zip...> > > > > >> > > > > > >> > > > > > > Matthew A Perosi> > > > > > > Psi Prime, Inc.> > > > > > > nj-singles.com> > > > > > > ijo.com> > > > > > >> > > > > > > Kalin Mintchev wrote:> > > > > > >> > > > > > > > hi all,> > > > > > > > i've been writing about those [shell] problems but nothinghas> > been fixed.> > > > > > > > we upgraded to the 4.5 recently and i'm trying a simplething> > here:> > > > > > > >> > > > > > > > [shell]> > > > > > > > gzip -S .zip [file_name]> > > > > > > > [/shell]> > > > > > > >> > > > > > > > if i try it without the option -S .zip it works but theend> > suffix is> > > > > > > > .gz . i know it's perfectly fine but the client wants it tobe> > .zip (i> > > > > > > > tryed to talk to them but...). so i use the -S option forthe> > gzip.> > > > > > > > it doesn't work. it comes out as a garbled file. it worksfine> > on the> > > > > > > > command line...> > > > > > > >> > > > > > > > i had problems before executing a script with passedvariables> > in the> > > > > > > > [shell] context. it look like the command passed to theshell is> > not> > > > > > > > really passed without alteration somehow somewhere.> > > > > > > >> > > > > > > > this is on a freebsd box..> > > > > > > >> > > > > > > > any thoughts?> > > > > > > >> > > > > > > > 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/> > > > > > >> > > > > >> > > > > > -------------------------------------------------------------> > > > > > 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/> > > > >> > > >> > > >> > > > -------------------------------------------------------------> > > > 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/> > >> >> > -------------------------------------------------------------> > 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/>-------------------------------------------------------------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:
I installed zip-3.2 from 4.6.2-RELEASE and it works with [shell]/usr/local/bin/zip [filename].zip [filename]Re-check your path to zip utilityTry with zip-3.2 if you have different version----- Original Message -----From: Kalin Mintchev To: WebDNA Talk Sent: Friday, March 28, 2003 11:29 AMSubject: Re: shell problems again...>> Hi Le,>> long time... the OS now is FreeBSD 4.6 with WC 4.5> simple commands work. ls -al does. the /usr/bin/zip [filename].zip> [filename] doesn't. gzip [filename] works....> i really need to use zip.> i also posted long time ago messages about executing a shell script that> i was passing variables to..>> thanks..>> On Fri, 28 Mar 2003, Le Pham wrote:>> > This quick test code works on Redhat7.3 What is your OS?> >> > [text]filename=textfile.txt[/text]> > [shell]> > /usr/bin/zip [filename].zip [filename]> > [/shell]> >> > The ls command works also> >> > > > [shell]> > ls -la> > [/shell]> >
> >> > Try it to see the results on your system.> >> > Thanks,> > Le> >> > ----- Original Message -----> > From: Kalin Mintchev > > To: WebDNA Talk > > Sent: Thursday, March 27, 2003 7:22 PM> > Subject: Re: shell problems again...> >> >> > >> > > ok. ther it is again...> > > got zip and installed it. libraries, etc.... it works fine on thecommand> > > line BUT this doesn't work in the [shell]> > >> > > [text]do=/usr/sbin/zip [file_name].zip [file_name][/text]> > > [shell]> > > [do]> > > [/shell]> > >> > > i tried [raw] around it - nothing....> > > i'm thinking to do a shell script but i'd still have to pass thevariable> > > [file_name] to it...> > >> > > any ideas?> > >> > >> > >> > > On Thu, 27 Mar 2003, Kalin Mintchev wrote:> > >> > > > On Thu, 27 Mar 2003, Matthew A Perosi wrote:> > > >> > > > > grabbing at straws here...> > > > > i don't know how the commands and options are passed to the shellbut> > when i program in> > > > > perl i always have better results when i create a variable with my> > full command and then> > > > > just pass that single variable to the shell.> > > > >> > > > > i.e.> > > > >> > > > > [text]dothis=gzip -S .zip [file_name][/text]> > > > > [shell]> > > > > [dothis]> > > > > [/shell]> > > > thanks - i just saw that it doesn't work anyway... i don't know whyyet.> > > > apparently if you do:> > > >> > > > gzip -S .zip file> > > >> > > > is the same as> > > >> > > > gzip file> > > > mv file.gz file.zip> > > >> > > > not good, not good...> > > > i'm gonna get zip for bsd... thanks for helping out....> > > >> > > >> > > > >> > > > >> > > > > Matt> > > > >> > > > >> > > > > Kalin Mintchev wrote:> > > > >> > > > > > On Thu, 27 Mar 2003, Matthew A Perosi wrote:> > > > > >> > > > > > > i've never used the [shell] command in WebDNA but how about> > skinning the cat this> > > > > > > way...> > > > > > >> > > > > > > [shell]> > > > > > > gzip [file_name]> > > > > > > mv [file_name].gz [file_name].zip> > > > > > > [/shell]> > > > > >> > > > > > that doesn't work even on the comand line...> > > > > > i mean you can rename them but then you can uncompress them...> > gunzip and> > > > > > unzip are producing errors....> > > > > > apparently there is some difference in the decompression betwenthe> > gnu> > > > > > zip (gzip) and the zip...> > > > > >> > > > > > >> > > > > > > Matthew A Perosi> > > > > > > Psi Prime, Inc.> > > > > > > nj-singles.com> > > > > > > ijo.com> > > > > > >> > > > > > > Kalin Mintchev wrote:> > > > > > >> > > > > > > > hi all,> > > > > > > > i've been writing about those [shell] problems but nothinghas> > been fixed.> > > > > > > > we upgraded to the 4.5 recently and i'm trying a simplething> > here:> > > > > > > >> > > > > > > > [shell]> > > > > > > > gzip -S .zip [file_name]> > > > > > > > [/shell]> > > > > > > >> > > > > > > > if i try it without the option -S .zip it works but theend> > suffix is> > > > > > > > .gz . i know it's perfectly fine but the client wants it tobe> > .zip (i> > > > > > > > tryed to talk to them but...). so i use the -S option forthe> > gzip.> > > > > > > > it doesn't work. it comes out as a garbled file. it worksfine> > on the> > > > > > > > command line...> > > > > > > >> > > > > > > > i had problems before executing a script with passedvariables> > in the> > > > > > > > [shell] context. it look like the command passed to theshell is> > not> > > > > > > > really passed without alteration somehow somewhere.> > > > > > > >> > > > > > > > this is on a freebsd box..> > > > > > > >> > > > > > > > any thoughts?> > > > > > > >> > > > > > > > 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/> > > > > > >> > > > > >> > > > > > -------------------------------------------------------------> > > > > > 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/> > > > >> > > >> > > >> > > > -------------------------------------------------------------> > > > 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/> > >> >> > -------------------------------------------------------------> > 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/>-------------------------------------------------------------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/
Le Pham
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:
Admin User - Users.db (1999)
dates and hex formatting (1997)
RE: PIXO support (1997)
encrypt method=APOP broken or just not enough docs? - was:MD5 encryption (2003)
Log-in Scheme (2003)
WebMerchant and CyberCash Problem: repost (2000)
Navigator Parsing (1997)
WebCat b15 Mac plug-in (1997)
Webcatalog, Webstar and Crasharama (1999)
Webcat no longer supported? (2006)
dates and hex formatting (1997)
Can GMT be called from the OS ? (2004)
Reversed words (1997)
6.x on MacOSX 10.3.9 apache 1.73 (2006)
Can't Update records (1997)
So many lookers, hey smith micro (2003)
WebCommerce: Folder organization ? (1997)
b12 cannot limit records returned and more. (1997)
[WriteFile] problems (1997)
Line items in table cells (1997)