Re: Count regular expressions in a file

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69405
interpreted = N
texte = Tried [shell]/bin/pwd[/shell] And [shell]echo test[/shell] And NOTHING is returned In the WebCAT Admin page, do I need to specify shell as a command that may be issued by non-administrators? > > [shell] is not the same as being in a Terminal window. "ls" is a > built-in command, not an executable on disk. > > Also you are not logged in as a regular user under [shell], so your > paths are not set. You'll need to use full paths > > Try something like [shell]/usr/bin/grep blah[/shell] > > On Oct 30, 2007, at 10:38 AM, Ki Song wrote: > >> I would like to do this using [shell], since I know how to do this >> using >> grep. >> It's weird that NO [shell] commands work. I tested this by running the >> following command from a test.tpl file: >> >> [shell]ls -l[/shell] >> >> Nothing shows up. >> >> What could be going on? ------------------------------------------------------------- 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: Count regular expressions in a file ( Stuart Tremain 2007)
  2. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  3. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  4. Re: Count regular expressions in a file ( Ki Song 2007)
  5. Re: Count regular expressions in a file ( Ki Song 2007)
  6. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  7. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  8. Re: Count regular expressions in a file ( Ki Song 2007)
  9. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  10. Re: Count regular expressions in a file ( Ki Song 2007)
  11. Re: Count regular expressions in a file ( Grant Hulbert 2007)
  12. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  13. Re: Count regular expressions in a file ( Ki Song 2007)
  14. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  15. Re: Count regular expressions in a file ( Ki Song 2007)
  16. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  17. Re: Count regular expressions in a file ( Ki Song 2007)
  18. Re: Count regular expressions in a file ( Ki Song 2007)
  19. Re: Count regular expressions in a file ( Donovan Brooke 2007)
  20. Re: Count regular expressions in a file ( Ki Song 2007)
  21. Count regular expressions in a file ( Ki Song 2007)
Tried [shell]/bin/pwd[/shell] And [shell]echo test[/shell] And NOTHING is returned In the WebCAT Admin page, do I need to specify shell as a command that may be issued by non-administrators? > > [shell] is not the same as being in a Terminal window. "ls" is a > built-in command, not an executable on disk. > > Also you are not logged in as a regular user under [shell], so your > paths are not set. You'll need to use full paths > > Try something like [shell]/usr/bin/grep blah[/shell] > > On Oct 30, 2007, at 10:38 AM, Ki Song wrote: > >> I would like to do this using [shell], since I know how to do this >> using >> grep. >> It's weird that NO [shell] commands work. I tested this by running the >> following command from a test.tpl file: >> >> [shell]ls -l[/shell] >> >> Nothing shows up. >> >> What could be going on? ------------------------------------------------------------- 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/ Ki Song

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:

tricky embedded[showifs/hideifs] (w/ code.. long) (2000) creator code (1997) [format] minus figures (2003) Webstar 4.2 Stops Serving (2000) Looking up two prices in database? (1997) no global [username] or [password] displayed ... (1997) WebCatalog vs. Cold Fusion (1998) RE: Supressing Error Messages (1998) $Quit, $CloseDatabase corrections (1997) TCPConnect / Current Temperature (2004) Insert Line Feed Character (2004) [WebDNA] WebDNA future (2010) More questions about serial number dishing (1997) Mass-mailer options - any suggestions ? (2005) [WebDNA] [replace] bug in v7.0? (2010) Limits (2000) [SHOWIF AND/OR] (1997) Problems with ^ could be solved with [REPLACE CHARACTERS] (1997) Message Board (1998) [OT] ISP Windows program (2005)