Re: Recommendation for keeping a web site synced?

2008-08-27 Thread Jonathan Lundell
On Aug 27, 2008, at 2:32 PM, Fritz Anderson wrote: > I have a web site that I maintain locally and then periodically upload > to my server. The BBEdit manual says the command that saves a copy to > FTP/SFTP is good for a file or two (and I find it so), but when I do > an Update > Site…, it's more

Re: How to remove all blank lines?

2008-08-28 Thread Jonathan Lundell
On Aug 28, 2008, at 10:42 AM, NeuroPulse wrote: > Anyone know a way to remove/delete al blank/empty lines? If you mean truly empty lines, replace \r+ with \r. If you mean lines with only white space, replace \r\s*\r with \r --~--~-~--~~~---~--~~ You received th

Re: Using Rhino for Unix Filters

2008-09-11 Thread Jonathan Lundell
On Sep 11, 2008, at 2:54 PM, Jim Correia wrote: > ...if we do so in a way which doesn't break every #! filter ever > written for BBEdit... Gee, Jim, watch your #! language, please. This is a family list. --~--~-~--~~~---~--~~ You received this message because

Re: Help with grep searchand replace

2008-09-19 Thread Jonathan Lundell
On Sep 19, 2008, at 6:14 PM, Oliver Boermans wrote: > 2008/9/20 aucGeorge <[EMAIL PROTECTED]>: >> >> We would like to search and replace all instances of >> in a document and replace it with >> >> but we need to add the closing tag at the end of the line also. >> >> So, >> Product Specificatio

bbedit as P4EDITOR

2008-11-04 Thread Jonathan Lundell
What's the right way to invoke bbedit as P4EDITOR? -w? If I just specify bbedit, it immediately exits. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to bbedit

Re: bbedit as P4EDITOR

2008-11-04 Thread Jonathan Lundell
On Nov 4, 2008, at 1:01 PM, Jim Correia wrote: > On Nov 4, 2008, at 3:59 PM, Jonathan Lundell wrote: > >> What's the right way to invoke bbedit as P4EDITOR? -w? If I just >> specify bbedit, it immediately exits. > > I use : > > bbedit -w --resume Per

Re: newbie grep question

2008-11-12 Thread Jonathan Lundell
On Nov 12, 2008, at 11:28 AM, Paul wrote: > Two full days of experimenting, reading, expermenting, researching, > experimenting and I can't figure out how to get this done. > > I want to find and replace blocks like the following, using the > tags as delimiters. The problem seems to be that the

Re: Trim trailing whitespaces

2008-11-17 Thread Jonathan Lundell
On Nov 17, 2008, at 1:59 PM, Christophe Bismuth wrote: > I'm used to coding with Eclipse which trim trailing whitespaces on > save. Is there any feature like this in BBEdit 9.0.2 ? > I tried to do so with regex pattern which works well with Eclipse, but > it doesn't work with BBEdit. Here it is (

Re: Deprecated still available via Markup > Font Style

2009-01-22 Thread Jonathan Lundell
On Jan 22, 2009, at 12:27 PM, interrobang wrote: > Just curious, because it caused a sh!t storm of a discussion in the > office today, why BBEdit (which was denigrated unfairly as a WYSIWYG > editor, or that it just plain sucked...) still inserts an for > italics when the has been deprecated in

Re: Grep help?

2009-03-26 Thread Jonathan Lundell
On Mar 26, 2009, at 11:39 AM, le...@gmail wrote: > On 26-Mar-2009, at 10:42, Ronald J Kimball wrote: >> (?s:<([uo]l)[^>]*>\s*(?>]*>.*?(?:\s*|(?=) > > > In my test data that only matches against the third list. > > ---test file > 123456 li>78910111213 ol>123456789 li>123456789 li>101112 > ---test

Re: Grep help?

2009-03-26 Thread Jonathan Lundell
On Mar 26, 2009, at 1:48 PM, le...@gmail wrote: > Yes. Results of Find all > > http://home.kreme.com/grepresult.png > > If I split it all up into mcultiple lines, then the match works. All > one line (like if the source had been saved in 'compact' mode) and it > fails. Looks like your reformat

Re: Grep help?

2009-03-26 Thread Jonathan Lundell
On Mar 26, 2009, at 3:00 PM, le...@gmail wrote: > On 26-Mar-2009, at 15:04, Jonathan Lundell wrote: >> On Mar 26, 2009, at 1:48 PM, le...@gmail wrote: >>> Yes. Results of Find all >>> >>> http://home.kreme.com/grepresult.png >>> >>> If

Re: BBEdit svn: This client is too old to work with working copy

2009-04-01 Thread Jonathan Lundell
On Apr 1, 2009, at 3:46 PM, Bill Hernandez wrote: > > When I try any operation on an existing repository, BBEdit becomes > unhappy... > > I just installed SubVersion this weekend, so I am not sure why the > error message ? > > Any ideas ? I think that BBEdit is using /usr/bin/svn, and if you try

Re: BBEdit svn: This client is too old to work with working copy

2009-04-02 Thread Jonathan Lundell
On Apr 2, 2009, at 7:43 AM, Craig Heilman wrote: > This brings up a question for me. I've heard differing > recommendations on how to tell the OS which version of an > application to use. Bill outlines one method. Another method > involves simply changing your path to include /usr/local/bin

Re: Threeway file comparison

2009-04-13 Thread Jonathan Lundell
On Apr 12, 2009, at 2:38 PM, angus wrote: > I often need to compare two different text documents with one master > (gotta love modifying other people's code). BBedit's document compare > is great, but what I was wondering is if there's a way to compare > three documents, A vs B and B vs C. So A &

Re: Using SSH with BBEdit

2009-05-06 Thread Jonathan Lundell
On May 6, 2009, at 8:45 AM, Steve Saeedi wrote: > I use MacFUSE with sshfs. I can mount as volumes any server vis an ssh > connection. BBEdit then can access the files as any other file on a > mounted volume. MacFUSE is good (and ExpanDrive is a nice, relatively inexpensive, UI for it, along w

dirty project files

2009-05-18 Thread Jonathan Lundell
No doubt I'm missing something (though I did read TFM). 1. Is there an indication of modified files in the project window, such that one can see all the dirty files at a glance? 2. Is there a mechanism for saving all the dirty files in a project, other than closing the project itself? --~--

Re: dirty project files

2009-05-18 Thread Jonathan Lundell
On May 18, 5:04 pm, Dennis wrote: > On May 18, 2009, at 4:54 PM, Jonathan Lundell wrote: > > > 1. Is there an indication of modified files in the project window, > > such that one can see all the dirty files at a glance? > > If a file has unsaved changes, a black diamond

Re: using php to script BBedit

2009-06-10 Thread Jonathan Lundell
If by "PHP scripting bridge" you mean a cli interface, see man php. On Jun 10, 2:26 pm, Rich Siegel wrote: > On 6/10/09 at 4:35 PM, jeanmichel.mer...@gmail.com (jmmermet) wrote: > > >I would like to use PHP instead of Applescript to script BBedit. > > Unless there's a PHP scripting bridge, it wo

text diffs

2009-07-28 Thread Jonathan Lundell
Speaking of comparing files... Is it possible to extract a text version of the results of a compare, comparable to the output of, say diff(1), that could be pasted into an email message? Or used as input to a patcher? --~--~-~--~~~---~--~~ You received this message

project file with no editor

2009-08-02 Thread Jonathan Lundell
I've got a Python project that has a few files that, by default, were not assigned to BBEdit, but to TextEdit, for example Makefile. I reassigned them to BBEdit via Get Info and they open fine. (I'm not entirely sure that this part is relevant, but there you are.) If I add Makefile to the project

Re: Sorting fortune file

2009-10-18 Thread Jonathan Lundell
Here's one approach, which might work for you depending on your workflow. And all it takes is BBEdit. 1. Convert the file to one line per fortune by replacing newlines with some special character, and the %'s with newlines. 2. Double each line with a distinctive character as a separator. So now

Re: Sorting fortune file

2009-10-18 Thread Jonathan Lundell
I love Perl, in the sense that it's unreadable Bruce, how are you handling the % fortune separator? On Oct 18, 5:22 pm, Bruce Van Allen wrote: > On 2009-10-18 at 4:52 PM, b...@cruzio.com (Bruce Van Allen) wrote: > > >On 2009-10-18 at 4:17 PM, b...@cruzio.com (Bruce Van Allen) wrote: > > >>T

Re: Sorting fortune file

2009-10-18 Thread Jonathan Lundell
% is the record separator. On Oct 18, 5:53 pm, Bruce Van Allen wrote: > On 2009-10-18 at 5:35 PM, jlund...@pobox.com (Jonathan Lundell) wrote: > > >Bruce, how are you handling the % fortune separator? > > Not sure what you are referring to. > > > > > >

Re: Sorting fortune file

2009-10-18 Thread Jonathan Lundell
n Allen wrote: > On 2009-10-18 at 5:53 PM, b...@cruzio.com (Bruce Van Allen) wrote: > > >On 2009-10-18 at 5:35 PM, jlund...@pobox.com (Jonathan Lundell) wrote: > > >>Bruce, how are you handling the % fortune separator? > > >Not sure what you are referring to.

Re: BBEdit mentioned in NPR's Planet Money podcast

2009-10-19 Thread Jonathan Lundell
http://www.npr.org/blogs/money/2009/10/podcast_the_riddle_of_minimum.html On Oct 19, 6:47 am, crag wrote: > What podcast are you guys talking about? > > On Oct 16, 5:54 am, outis wrote: > > > > > I was catching up with my podcasts and I noticed that the 'number for > > the day' was 10.6 (snow l

Re: Is there a way to duplicate a line?

2009-10-22 Thread Jonathan Lundell
On Oct 22, 3:20 pm, Doug McNutt wrote: > At 14:52 -0700 10/22/09, Dennis wrote: > > >On Oct 22, 2009, at 2:35 PM, daedalus wrote: > >> Is there a built-in way I'm just overlooking or a macro or > >> something I can do that would allow me to accomplish this? > > >Easily done with a script: > > If