- Subject: Re: how to load a list of files into jed at startup
 
- From: Dave Kuhlman <dkuhlman@xxxxxxxxxxxxxxx>
 
- Date: Wed, 19 Oct 2005 08:02:07 -0700
 
On Wed, Oct 19, 2005 at 01:23:03PM +0200, Marko Mahnic wrote:
> 
> $  find \( -iname "*.py" -o -iname "*.pt" \) -fprintf tmplist.sl 
> "()=find_file(\"%p\");\n" & jed -l ./tmplist.sl
> 
Cool.  I did not know about the -o flag.  Thanks for teaching me
about that.
On Linux and bash, the following also works and is a little
simpler:
    $ find * \( -iname '*.py' -o -iname '*.pt' \) | xargs jed
Dave
-- 
Dave Kuhlman
http://www.rexx.com/~dkuhlman
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
  [2005 date index]
  [2005 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]