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:

HomePage Caution (1997) Shared Webstar Directory (1998) About WebCatalog and iTools 7 (2003) passing variables - problem (1997) WebCatalog can't find database (1997) Cumulative Shipping charge calculations - your help please. (1997) Need formatting help (1998) RE: type 2 errors with ssl server (1997) Use of Back and Reload Buttons on ShoppingCart page? (1997) Date Sorting (1997) Re:Virtual hosting and webcatNT (1997) RE: Displaying Location (1997) writing orders to a db (1997) Bug Report, maybe (1997) Two prices in shoppingcart? (1997) Migrating to NT (1997) Next X hits (1996) Search bug. Help (2002) syntax question, not in online refernce (1997) Ok here is a question? (1997)