Questions tagged [textwrangler]

TextWrangler is the “little brother” to BBEdit, a professional HTML and text editor for the Macintosh.

TextWrangler

TextWrangler is the “little brother” to BBEdit, a professional HTML and text editor for the Macintosh.

TextWrangler vs. BBEdit

TextWrangler is a very capable text editor. What sets BBEdit apart is its extensive professional feature set including Web authoring capabilities and software development tools.

How do I get TextWrangler?

Download TextWrangler here.

TextWrangler is a…

  • General Purpose Text Editor
  • Programmer’s Text Editor
  • Unix And Server Administrator’s Tool
  • Powerful Text Transformer And Manipulator
  • Good Mac OS Citizen
  • Powerfully Useful Tool
  • product developed in the best traditions of Bare Bones Software, with high performance, ease of use, a rich feature set, and the ability to read its own release notes.

TextWrangler 4.0 System Requirements

  • Mac OS X 10.6 or later (10.6.8, 10.7.3 or later recommended)
  • Intel Macs only

What about BBEdit Lite?

BBEdit Lite was discontinued a number of years ago, and the world has moved on. TextWrangler and BBEdit have capabilities that were never supported (or possible) in BBEdit Lite:

  • Run natively and at full speed on Macs with Intel processors;
  • Open files from (and save them to) remote FTP and SFTP servers;
  • Pattern matching (BBEdit's grep mode uses a PCRE version from 2003, so recent PCRE features are missing);
  • Support for editing Unicode text files, and converting between text encodings;
  • Find Differences to compare files or folders;
  • Integration with the Unix command-line environment;
  • Advanced and extensible programming language support, with code folding, syntax coloring, and extensibility;

…and much much more.

177 questions
0
votes
1 answer

Grep for .PO file, or RegEx for a block of text between delimiters

Start with this file: msgid "a string" msgstr "" msgid "" "A longer string wraps " "on multiple lines." msgstr "" Grep RegEx to replace all msgstr lines like this: msgid "a string" msgstr "{a string}" msgid "" "A longer string wraps " "on…
Gabriel R.
  • 1,186
  • 1
  • 15
  • 29
0
votes
0 answers

Efficient way of adding 6K urls into JSON class

I have approx 6k urls to put into a .json list in my iOS app [{ "trigger": { "url-filter": "somepage1.com", "load-type" : ["third-party"] }, "action": { "type": "doSoemthing" } }, { "trigger": { "url-filter":…
JSA986
  • 5,870
  • 9
  • 45
  • 91
0
votes
2 answers

Using GREP to replace all but matched string

I'm using TextWrangler to get specific information from an XML. I need to find a list of file names that are present and print out only those file names. An example of the code is below:
0
votes
1 answer

Find and replace variable text in Textwrangler

I am looking for a way to replace variable text in large text file in TextWrangler. Here is an example of text that I am starting with: 144: FTLF8529P3BCV-CS 22492: TRS2200SN-000C 24524: SFBR-5780APZ-CS2 26538: …
Himanshu
  • 1
  • 2
0
votes
1 answer

How to adjust/edit the Terminal bash script that compiles C?

I would like to edit my Apple Script file to improve the format of the output in Mac Terminal. Background to the problem: I am new to learning C, and my knowledge of bash is rather limited. I have no experience in writing scripts. When compiling…
daOnlyBG
  • 595
  • 4
  • 20
  • 49
0
votes
1 answer

TextWrangler - replace every second line-break with comma

I have a text file containing only text lines like this: abcdefg 2009 hijklmnop 2012 I want to replace every second line-break with a comma. So it should look like this: abcdefg, 2009 hijklmnop, 2012 How can I do this in TextWrangler?
mdcq
  • 1,593
  • 13
  • 30
0
votes
1 answer

How to fix contacts whose First names were saved as Last names?

I'm trying to fix someone else's contacts (which I retrieved from their phone), but it seems that many, many contacts have their First names also written in the Last name field. Probably the phone was asking in turn for each piece of information and…
1theo0
  • 45
  • 9
0
votes
0 answers

Editing Text in Multiple Files with Textwrangler through Automator/Applescript

I currently have an Automator workflow that uses Textwrangler to trim text files down for me. These files are often full of the same bits of code and spaces, so I made a workflow where I click the Automator action which grabs all the text files in…
tardy pigeon
  • 225
  • 6
  • 18
0
votes
2 answers

How to start IDL

I manage to get this command in my MacBook Pro Terminal Window : IDL> I am now in Text Wrangler. I type in print, "Hello World " How do I get the words "Hello World" to appear in my MacBook Pro Terminal Window, from TextWrangler ? Do I have to save…
0
votes
1 answer

How to select to the end of line

I am trying to clean up a text file. Every line has a tab in the middle somewhere. I want to delete everything including that tab to the end of that each line. This will give me just the text before the tab in each line. I am struggling with grep…
Kashif
  • 4,642
  • 7
  • 44
  • 97
0
votes
0 answers

Executing python script with a icon click

I am wondering how to run a python script (script.py) without going through terminal. I'm using a mac with osx 10.9.5, I use TextWrangler, and run in terminal. I was hoping there was a way to run the program by a single icon click.
0
votes
1 answer

How to set Textwrangler the default editor for c code on OSX?

Right from the start I found Xcode to be way to overloaded for simple C programs I have to write for university. Lately I discovered Textwrangler to be more of an editor I wanted to use for that purpose, beforehand I used VIM quite a lot, but having…
Friedrich
  • 29
  • 2
0
votes
1 answer

Notepad++ Replacing multiple text and texts in all rows with multiple texts

I have a big txt file. See example…
wocmm
  • 21
  • 2
0
votes
1 answer

Not a statement error in Complex Numbers

public String toString () { String result; if (imaginary == 0) { return real + " "; } else if (real == 0) { return imaginary + "i"; } else (imaginary < 0); { return real + " - " +…
0
votes
1 answer

TextWrangler: line-number in a replace string

I'm looking for the best way to search all the occurrences of a string and replace them with something related to the line number. For example, line 857 must become: z-index: 96; where 96 = (linenumber +7) / 9. And line 848 must become: …
Jean Paul
  • 1
  • 1