At 08:36 -0700 02/14/2013, LuKreme wrote: >I have a text factory that does a bunch of stuff and ends up with a file >that looks like this: > >cd /some/path >mv this.file1 that.file1 >mv this.file2 that.file2 >mv this.file3 that.file3 > >(or maybe not mv, maybe cp, rysnc, rm, scp, whatever) > >How do I execute those lines? I mean, I could write the file out and then >do "source /path/to/file" but I suspect there is a better way? I'd prefer >to not leave BBEdit, and it would be nice if it was automated. >
As a direct action, you could copy those lines, create a new shell worksheet, then paste them in and execute them. Automating the process may be a bit more involved though, and will also depend on your starting conditions. Regards, Patrick Woolsey == Bare Bones Software, Inc. <http://www.barebones.com/> -- -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
