Re: Count regular expressions in a file
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69404
interpreted = N
texte = [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 pathsTry 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:
[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 pathsTry 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/
Grant Hulbert
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:
Protect vs Authenicate (1997)
Forms Search Questions (1997)
Strange intermittent WebDNA problems (2008)
web delivery (1997)
WebCat 5 Intranet Question (2003)
Forcing a NEWCART (1997)
Search-context (1999)
questions on variations of Ken's [text (1999)
WebCat2 - Getting to the browser's username/password data (1997)
Need relative path explanation (1997)
Showing unopened cart (1997)
typhoon... (1997)
WebCat2: Items xx to xx shown, etc. (1997)
I'm new be kind (1997)
[search] within [listfiles]? (2003)
WebCat2b15MacPlugin - [protect] (1997)
HomePage Caution (1997)
Email problem (1998)
[WebDNA] Candidate versions release (2010)
For you Unix gurus [OT] (2002)