Questions tagged [bbedit]

BBEdit is a proprietary text editor made by Bare Bones Software available for Mac OS X. It is marketed under the trademark slogan, "It doesn't suck."

BBEdit is a proprietary text editor made by Bare Bones Software. It was originally developed for Macintosh System Software 6 and is now available for Mac OS X.

BBEdit is marketed under the trademark slogan, "It doesn't suck."

BBEdit is designed for use by software developers and web designers. It has native support for many programming languages and custom modules can be created by users to support any language. BBEdit is not a word processor, meaning it does not have text formatting or page layout features.

The application contains powerful multi-file text searching capabilities including strong support for Perl-compatible regular expressions. BBEdit allows easy previewing and built-in debugging of HTML and provides built-in prototypes for most HTML constructs. It also includes FTP and SFTP tools and integrates with code management systems. BBEdit shows differences between file versions and allows for the merging of changes. Support for version control, including CVS, Perforce, and Subversion is built in.

(Copy from Wikipedia entry)

158 questions
0
votes
1 answer

CSV - split full name into first and last name

I regularly need to process large lists of user data for our marketing emails. I get a lot of CSVs with full name and email address and need to split these full names into separate first name and last name values. for example: John…
John Egan
  • 225
  • 1
  • 11
0
votes
3 answers

Mac source control option with both working and live repositories being remote?

I've been doing LAMP development for roughly ten years now. I've occasionally used CVS and SVN. I code mostly with BBEdit. I am trying to setup some sort of source control to manage LAMP web apps. I prefer not to have a local repository. I usually…
0
votes
2 answers

Applescript: Am I able to save a text file using a variable for the filename and file path?

I have created a script to find/replace within the document to create an SQL insert statement, but so far I have been unable to create a statement that allows me to save the results using a saved variable (the date) and extension (.sql) to a…
Gordon
  • 1
  • 2
0
votes
1 answer

Find capital letter in BBEdit

I am working in BBEdit to clean up text in "textfactory" But I have run into a problem. In the text below there are two periods "." Ex. afghanhund, borzoi, greyhound. sloughi, whippet. Thomas M Hehir, Irland A period before space and capital letter…
0
votes
2 answers

Regex to find all words which contain both 'd' and 'n' where other letters are from a to n

To help learners of Braille, I want to filter a list of words to find only those that contain the both the letters 'd' and 'n'. I am using the regex engine present in BBEdit 10.5.13. I have a file contain a list of words, one word per line. Here is…
James Newton
  • 6,623
  • 8
  • 49
  • 113
0
votes
1 answer

Applescript to compile BBEdit .java file failing to set path correctly

I found an AppleScript online that should allow me to automate the process of compiling and running .java files/applications without directly interacting with terminal. I know how to compile and run with terminal, but it would be far more convenient…
Jerry
  • 61
  • 1
  • 5
0
votes
1 answer

Creating marker index in BBEdit

In building Wordpress sites for customers I need to create a marker index for their theme stylesheet. BBEdit's Make Marker command uses grep regular expressions to find and "Mark As" to build an index for a document. The stylesheets for a particular…
Jon Burr
  • 51
  • 2
0
votes
2 answers

Can Regular Expressions search for groups no matter the order or whether they all exist?

So I want to search for A,B,C,D in a string in any order, but if C doesn't exist I still want it to give me A,B, and D, etc. To be more specific, here is the exact problem I'm trying to solve. CSV file with lines that look like…
0
votes
0 answers

Using a regex counter as output

Is there a counter that regex 'uses' that can be out put? For instance, if I have this text: (), (), (), () I want to use a regex pattern to add the count to the output for each match. so in this case the desired result would…
roberthuttinger
  • 1,172
  • 1
  • 17
  • 31
0
votes
2 answers

BBEdit is not recognizing ctags' tags file

I'm trying to get BBEdit to recognize my ctags file for a Rails project. I've tried generating it both with ctags-exuberant directly and with the bbedit --maketags command. While the tags I generate work perfectly in Vim, no such luck in BBEdit. …
todd.pierzina
  • 740
  • 4
  • 10
0
votes
2 answers

PHP Validation in BBEdit 10 with Applescript

I am trying to add a script to BBEdit 10 that will validate PHP files. I have enabled PHP & Web Sharing on my Mac and I think the script is accurate but I am having an issue which I think is being caused by a volume name having a space. property…
ATLChris
  • 3,198
  • 7
  • 39
  • 65
-1
votes
1 answer

Inserting dashes in ISBNs using grep (in BBEdit)

I have a file in which valid ISBNs always appear in the context of isbn = {} but often lack the dashes that are generally used for formatting them. I would like to insert these dashes using grep in BBEdit. For example I'd like to replace isbn…
orome
  • 45,163
  • 57
  • 202
  • 418
-1
votes
1 answer

Extract BBEdit search history into a shell script

I live off the regex search/replace in BBEdit. At times I cycle through a history of 8-9 search/replaces to convert a file. Is there anyway to extract the BBEdit search/replace history? Best would be to just have the history auto generate a shell…
Dru Freeman
  • 1,766
  • 3
  • 19
  • 41
-1
votes
2 answers

Convert all

Using BBEdit Grep, I want to convert all
Text
to

Text

The Text should, of course, remain the same, untouched. I am using Search
([^>]*)
with Replace

\1

, but this Replace does not work when Text has tags,…
-1
votes
1 answer

BBEdit: how to write a replacement pattern when a back reference is immediately followed by a number

I'm new to GREP in BBEdit. I need to find a string inside an XML file. Such string is enclosed in quotes. I need to replace only what's inside the quotes. The problem is that the replacement string starts with a number thus confuses BBEdit when I…
1 2 3
10
11