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

BBEdit progressively update command line

Is it possible to use the BBEdit command line tool and update it progressively. Example: (echo -n "foo"; sleep 3; echo " bar") | bbedit This will appear after 3 seconds, but I want it to display foo and then wait and display foo bar.
Tyilo
  • 28,998
  • 40
  • 113
  • 198
0
votes
1 answer

cannot run javascript program in terminal Mac

I have made a JavaScript hello world program in BBEdit, and saved it as app.js. But when I'm trying to run the file in Terminal, I keep getting the error (syntax error near unexpected token `'Hello world''). The code: console.log("Hello world") The…
amos
  • 11
  • 4
0
votes
1 answer

BBedit Script - Replace text field?

Here's a piece of an EDL that I'm editing - 012 A005C004_22031_RPNV *FROM CLIP NAME: A005C004_22031_RPNV M2 AX 048.0 013 A003C002_220228_RPNV *FROM CLIP NAME: A003C002_220228_RPNV M2 AX 048.0 014 A005C004_220301_RPNV *FROM CLIP NAME:…
bvckwvrds
  • 1
  • 1
0
votes
1 answer

How to merge all the lines into single line in BBEDIT

How can I merge all the lines into single line by using BBEdit (MAC) Example: Sunday Monday Tuesday Wednesday Expected output: Sunday Monday Tuesday Wednesday
Varun K M
  • 57
  • 1
  • 9
0
votes
0 answers

BBedit regular expression find string

How I can find with bbedit regular expression all the lines containing the word text+"" Text("ciao") <- this is the type off line that i want to search "Hello" how are you = "test" I tried with this regular expression ("[a-zA-Z 0-9]+), but I found…
0
votes
1 answer

BBEdit grep: filter out specific character from results?

From the following line of text: ab•di•ca•tion I want to produce the following line: abdication ab•di•ca•tion (where the space between is a tab). This to iterate over multiple lines. I can't find a way of 'filtering out' or excluding the •…
benwiggy
  • 1,440
  • 17
  • 35
0
votes
0 answers

How to get BBedit to auto-continue a block-comment?

I'm used to vim adding a * at the start of each line when typing a block comment in Javascript, C, or Go. I noticed that BBedit doesn't do this. Is there a way to get it to do that? I probably overlooked some setting somewhere. Thanks!
aMike
  • 852
  • 5
  • 14
0
votes
0 answers

BBEdit GREP - To break line if there is no blank line above

I am trying to organise a bunch of documents that has " [ " brackets. I have achieved to organise them to [ to come on as new line all the time however I need them to have 1 line of blank space on top every time. Conditionally if there is blank line…
0
votes
1 answer

BBEdit - replacing and with & character?

In BBEdit, how would I do replace all involving an ampersand. So far, I replaced the & with and, but what if you really need to do it, what should be encased, not sure what would work. This is my text:

Simon and Garfunkel were an American…

avenas8808
  • 1,639
  • 3
  • 20
  • 33
0
votes
1 answer

Grep lines for multiple words and the line ending, and then replace line ending if matched

I need to grep a long text file for lines that contains multiple possible words and also end in "=1", and then replace the line with the same text except change the "=1" to "=0". I'm using BBEdit. So far I have this to find lines that contains the…
mindmischief
  • 271
  • 1
  • 12
0
votes
1 answer

BBedit find line and remove caracter

I have multiple text files with same structure. I want to remove "." in the second line only ID 330.22 by ID 33022 The number of digits could change (other examples 234567.33 or 34.3) GENE ID 330.22 INFO1 44.2 INFO2 22.3"
BJA
  • 1
  • 1
0
votes
2 answers

How to Grep Search two occurrences of a character in a lookbetween

I seem to have to perpetually relearn Regex & Grep syntax every time I need something advanced. This time, even with BBEDIT's pattern playground, I can't work this one out. I need to do a multi-line search for the occurrence of two literal asterisks…
brianfit
  • 1,829
  • 1
  • 19
  • 34
0
votes
1 answer

How to replace in selection using AppleScript for BBEdit?

Is there a way to replace text within a selection using Applescript for BBEdit? I have a replace script, and I'd like to run it for only selected text. I know you can replace in selection using the find menu, but I can't find anything that says it…
CharType
  • 390
  • 1
  • 4
  • 16
0
votes
1 answer

Why am I getting an error using replace in AppleScript for BBEdit?

I'm trying to make an AppleScript for BBEdit to move everything up one hour on a schedule by replacing each hour with the next hour. I've used AppleScript and BBEdit quite a bit before, but this is my first time using them together and I don't know…
CharType
  • 390
  • 1
  • 4
  • 16
0
votes
1 answer

Remote SSH Pipe to Local Text Editor

Is there a way I can pipe output on a server to my localhost workstation editor? I am using bbedit as an editor and would like to pipe backwards through my terminal to my editor. It is very similar to this: How to send data to local clipboard from…
Rich_F
  • 1,830
  • 3
  • 24
  • 45