Splitting a file?

2022-03-28 Thread @lbutlr
I have a text file that has the form: 01 Title So,e text on various lines and multiple paragraphs. 02 other Tilte More text etc. I want to split the file into individual files named "01 Title" "02 other Title" and each containing the text that follows. No lines start with numbers except for

Patter crossing ne line boundary?

2022-03-01 Thread @lbutlr
I am using the following pattern: ^,,([^ ]+) ([^,@]+), And it is matching across the EOL markers. I though the default was for pattern not to do that unless specifically told to? It is the [^ ]+ that seems to do it. What I am trying to match is a ",,word word," and not match ",,word,word" --

Re: Convert to CDATA/XML?

2022-01-27 Thread @lbutlr
On 2022 Jan 26, at 10:11, jj wrote: > One possible approach is with node.js and the node module html-entities. Thanks, I was hoping for a simpler solution that didn't rely on something else to install and I will probably use htmlspecialchars() from php instead since that is currently in macOS

Convert to CDATA/XML?

2022-01-25 Thread @lbutlr
Is there a way to easily convert a block of HTML text with entities in, like into CDATA XML-compatible codes like ? The only thing I see in the manual for CDATA is > • Escape : This option controls whether BBEdit should convert > sections to normal text. -- If you have any young

Re: Extract matching lines from all open files

2021-11-04 Thread @lbutlr
On 2021 Nov 04, at 17:00, Patrick Woolsey wrote: > On Nov 04, 2021, at 18:47, @lbutlr wrote: >> >> I have a bunch of files open and I want to extract all the lines that match >> a grep pattern from all the files. I do not want to do this from the shell, >> be

Extract matching lines from all open files

2021-11-04 Thread @lbutlr
I have a bunch of files open and I want to extract all the lines that match a grep pattern from all the files. I do not want to do this from the shell, because I do not want to save the files in their current state. It doesn't matter if I copy or cut the matching lines, but I would like all the

Version 14

2021-08-27 Thread @lbutlr
I'm curious what features of BBEdit 14 people are finding the most fun, useful, or dramatic. If you were telling someone about Bbedit for the first time, what features would you tell them about, and what specific version 14 features would you mention? So far the only features I find myself

Re: Sharing preferences

2021-07-27 Thread @lbutlr
On 2021 Jul 27, at 03:00, Jan Erik Moström wrote: > Before figuring out the best way to do this for me, I would like to ask a few > questions. > > - In chapter 2 in the manual there is a description of how to share the > application support folder using Dropbox or iCloud. The preferred way is

Re: XML linter?

2021-07-23 Thread @lbutlr
On 2021 Jul 23, at 13:10, jj wrote: > Did you try xmllint ? Ah, yes I do. Now, how to use it within BBEdit. (The only 'lint' mention in the manual is about using bbresults from the command line). -- "Are you pondering what I'm pondering?" "I think so, Brain, but what would goats be doing in

Re: [ANN] BBEdit 14.0

2021-07-23 Thread @lbutlr
On 2021 Jul 20, at 17:00, Lorin Rivers wrote: > On Jul 19, 2021, at 1:39 PM, Rich Siegel wrote: >> **Notes* - We know that many of our customers create a lot of >> untitled documents for quick note-taking, and rely on BBEdit's >> legendary stability and robust crash recovery to

Re: XML linter?

2021-07-23 Thread @lbutlr
On 2021 Jul 23, at 05:47, Edzard de Ranitz wrote: > The build in function Markup > Tidy > Reflow works fine for me for XML It does not check syntax like a linter does. (Fore example, XML wants instead of -- Noble dragons don't have friends. The nearest they can get to the idea is

XML linter?

2021-07-22 Thread @lbutlr
A brief mention of using linters with BBEdit got me wondering if there is a linter for XML that works on macOS? The only thing I find one looking around are web based ones and on linux tool that is not in homebrew. And assuming there is one, how do I integrate it into BBEdit? -- Margo: P.S.

Re: Newbie problem - Tech support sent me here

2021-06-26 Thread @lbutlr
On 26 Jun 2021, at 17:10, Neill Smith wrote: > sh: /VCTTools/bat/hdbgsub.sh: No such file or directory > > This directory does exist. Really? At the ROOT LEVEL of your computer there is a directory named /VCTTools/? How did you manage that? Does the script hdbgsub.sh exist in that folder?

Re: Adding a query line to all files in a folder

2021-06-19 Thread @lbutlr
On 17 Jun 2021, at 08:31, Peter Small wrote: > Chrome keeps caching my files so that when I make a change to any online > document Chrome displays the cached version and not the modified version that > is on the server. Are you setting an expiration header on you site? This is normally how you

Re: Odd site deployment behavior

2021-06-19 Thread @lbutlr
On 17 Jun 2021, at 18:15, Watts Martin wrote: > So, I want to do a sanity check here -- is anyone using the "Deploy Site" > command successfully? I have used it in the past without issue, but since my web server is accessed only via ssh with keys and no passwords, I was unable to get the

Re: Stumped on this one

2021-06-16 Thread @lbutlr
On 15 Jun 2021, at 18:01, 'Jeffrey Jones' via BBEdit Talk wrote: > On 2021 Jun 15, at 19:28, @lbutlr wrote: >> >> I want to replace the first date in file 1 with the first date in file 2, >> and so on through the entire file. > > I'll bet there are several ways

Stumped on this one

2021-06-15 Thread @lbutlr
I have a file that has a few hundred lines, 77 of which are a HTML/XML style date element Tue, 15 Jun 2021 17:12:26 -0600 I have another files that has 77 date lines in the same format. Everything is different dates, obvs. I want to replace the first date in file 1 with the first date in file

Re: Applying encoding changes?

2021-06-03 Thread @lbutlr
On 03 Jun 2021, at 09:48, Patrick Woolsey wrote: > Though it's not automatic _per se_, Markup -> Utilities -> Translate Text to > HTML with suitable options set will do the job. Ah, yes, that seems to do the trick. It would be a nice thing to be able to do wightfrom the syntax check results

Applying encoding changes?

2021-06-03 Thread @lbutlr
When I have a syntax error like: untitled text 25:6: Unencoded entity found; “ʁ” needs to be encoded as “”. Is there anyway to apply that change automatically without retyping the entity? The only option on the rclick menu is "Cop" and that copies the entire line. -- BUGS: There is no

Re: Text filters to format JSON and XML

2021-05-27 Thread @lbutlr
On 26 May 2021, at 10:41, Arthur Goldberg wrote: > I'm looking for text filters to format JSON and XML. Text filters, like regex in BBEdit? Don't. Stop now and back away. There are good tools for dealing with JSON files (jq is what I use) but there are a lot of formats out there that LOOK like

Re: Handling dollar signs in search and replace

2021-05-26 Thread @lbutlr
On 25 May 2021, at 18:17, Duncan Thorne wrote: > I'm stumped when it comes to reformatting a text line that begins with a $ > symbol. I want to replace the preceding line's line break, followed by the > new line's $, with a tab-$. > For instance: > ... 2021 > $0.23 > > changed to: > ... 2021

Re: Moving endnotes to inline

2021-05-18 Thread @lbutlr
On 18 May 2021, at 14:20, @lbutlr wrote: > On 17 May 2021, at 07:22, Roland Küffner wrote: >> it is not quite clear, how consistent your search and replace patterns are. >> But if they are, BBEdit's Canonize-command could deliver an easy solution. > > Oh, that is a

Re: Moving endnotes to inline

2021-05-18 Thread @lbutlr
On 17 May 2021, at 07:22, Roland Küffner wrote: > it is not quite clear, how consistent your search and replace patterns are. > But if they are, BBEdit's Canonize-command could deliver an easy solution. Oh, that is a much better solution. And a simple grep pattern on the footnotes file will

Re: Moving endnotes to inline

2021-05-14 Thread @lbutlr
On 14 May 2021, at 13:04, Cooper Cavalier wrote: > The endnote looks like this: > title="">[18][18]See Werner G. Marx, Money Matters > in Matthew, Bibliotheca Sacra 136:542 (April-June 1979):148-57. That is going to be harder if your endnotes do not have closing tags. I am not sure that the

Re: Need help accessing multiple files' content at the same time

2021-05-07 Thread @lbutlr
On 07 May 2021, at 05:32, Christopher Stone wrote: > # Find files, concatenate their contents, send result to BBEdit. > find -E . -type f \( ! -name ".*" \) -exec sed -n '1,$p' {} \; | bbedit OK, two questions. 1) why -E? 2) '1,$p'? Where/what is $p? -- When men talk to their friends,

Re: Sorting transcripts

2021-04-24 Thread @lbutlr
On 19 Apr 2021, at 21:46, Christopher Stone wrote: > use v5.010; Excellent script, but is this needed? And what are the consequences if you have 5.32 installed? -- "I know she's in there," said Verence, holding his crown in his hands in the famous

Re: Can't launch BBEdit

2021-04-16 Thread @lbutlr
On 15 Apr 2021, at 05:56, TJ Luoma wrote: > FWIW - I also keep a folder with software manuals at ~/Dropbox/Bookshelf/ > which has come in handy over the years. I added the BBEdit manual to my Books.app Library. Maybe I'll even remember it's there the next time I am in desperate need, but I've

Re: Can't launch BBEdit

2021-04-14 Thread @lbutlr
On 11 Apr 2021, at 09:28, Patrick Woolsey wrote: > For general reference, if you've asked BBEdit to bite off more than it can > reasonably chew :-), please see the section "Launching BBEdit" (pg 44 in the > current edition) within Chapter 3 of the user manual[*]: I didn't have the manual

Re: Can't launch BBEdit

2021-04-11 Thread @lbutlr
On 11 Apr 2021, at 03:25, @lbutlr wrote: > On 11 Apr 2021, at 00:03, @lbutlr wrote: >> On 10 Apr 2021, at 22:26, Tom Robinson wrote: >>> It won’t be doing the same search when you relaunch, it’s probably just >>> reopening the huge document. How long have you give

Re: Can't launch BBEdit

2021-04-11 Thread @lbutlr
On 11 Apr 2021, at 00:03, @lbutlr wrote: > On 10 Apr 2021, at 22:26, Tom Robinson wrote: >> It won’t be doing the same search when you relaunch, it’s probably just >> reopening the huge document. How long have you given it? > > Oh, 15 minutes? Maybe a bit more. It's now

Re: Can't launch BBEdit

2021-04-11 Thread @lbutlr
On 10 Apr 2021, at 22:26, Tom Robinson wrote: > It won’t be doing the same search when you relaunch, it’s probably just > reopening the huge document. How long have you given it? Oh, 15 minutes? Maybe a bit more. The reason I think it is doing the search is the the playground window is the

Can't launch BBEdit

2021-04-10 Thread @lbutlr
So, I was working on trying to write a regex for some data and using the umm… search playground? Whatever it is called. And I entered a search query which I expected would match several individual characters per line on a Gile containing 50-100 lines of sample data taken from the source file.

Re: Deleting emoji characters

2021-03-22 Thread @lbutlr
On 24 Oct 2020, at 18:02, Tim A wrote: > Thanks all for the quick and informative responses . The "Text -> Zap > Gremlin" of Rod did the trick! Be careful, when you are dealing with a UTF-8 document, this may zap more tan you want. Forexample, I often use ¹ and ² in documents and simply

Re: Find/Replace with Regex expression

2021-03-22 Thread @lbutlr
On 21 Mar 2021, at 16:27, 'Ken Brown' via BBEdit Talk wrote: > I had not used grep Find/Replace regex for awhile, let me take this time to > thank the developers of BBEdit for the great help in the Find/Replace dialog > ? Button, and the way that the 'show matches' checkbox causes highlights

Re: Open a path in a text file

2021-03-19 Thread @lbutlr
On 17 Mar 2021, at 17:06, Christopher Stone wrote: > This script will pop up a dialog giving you the choice of opening the file or > folder of the path selected in the front BBEdit window. All keyboard – no > mouse needed. Thank you, that is exactly what I wanted -- NOTHING IS FINAL.

Re: Open a path in a text file

2021-03-14 Thread @lbutlr
On 14 Mar 2021, at 01:33, Tom Robinson wrote: > If I’m following you: > > 1. in any macOS Open dialog, you can type a / and a special input field will > appear where you can type/paste a path (to a directory, not a file) Sure, but I am in BBEdit in a file with many file paths. I want to open a

Open a path in a text file

2021-03-13 Thread @lbutlr
Greetings and happy Coviversary: So, I have a text file that has a path to a file, and I would like to open that file, or the directory containing that file. Currently, I copy the path manually, then paste it into the terminal (or a shell worksheet in BBEdit), and prepend open " And append

Formatting HRML inside another document type?

2021-02-23 Thread @lbutlr
I would like to be able to apply "compact" HTML formatting to the HTML that is embedded in other documents, specifically PHP files, shell scripts, and XML files The lat is probably the easiest since CDATA has clear start an end tags and I can probably just write a search and replace to

Regex question

2021-02-12 Thread @lbutlr
I seem to be having a Brain Cloud¹ moment, but I am trying to match a pattern like this: foo+(anything)# or foo# and NOT match foobar# foobar+(anything)# foob# foob+(anything)# etc foo+# is invalid and cannot occur in my dataset. Basically, the + is optional, but if it is there, I have to

Re: Shifting Right/Left by Space

2021-01-04 Thread @lbutlr
On 04 Jan 2021, at 22:50, Christopher Stone wrote: > Cmd-Shift-] x 4: > BBEdit automatically turns the spaces into tabs at my designated tab-width. Aha! That explains something that annoyed me and I didn't dig into to see what the cause was a week or two ago. It was very confusing and I just

Preview in Safari 13.0.1

2020-12-24 Thread @lbutlr
Is anyone else seeing the BBEdit Preview option in the Markup menu reading "Preview in Safari 13.0.1"? I have Safari 14.0.3 and on an external drive I have Safari 14.0, but I can find no sign of a Safari 13.0.1 on my system. $ mdfind "kMDItemCFBundleIdentifier == 'com.apple.Safari'"

Re: Counting occurrences of names

2020-10-10 Thread @lbutlr
On 07 Oct 2020, at 08:10, Rod Buchanan wrote: > cut -d' ' -f3-4 | sort | uniq -c And, since there are many way to do this, I generally fall back to awk awk '{print $3, $4}' | sort | uniq -c Which does exactly the same thing. -- showing snuffy is when Sesame Street jumped the shark -- This

Re: Filetype for rc files?

2020-05-18 Thread @lbutlr
On 14 May 2020, at 14:56, Darren Duncan wrote: > If the filenames have distinct extensions then the solution is easy. The do not have any extensions at all. -- Life is raw. Everybody medicates. — Quentin -- This is the BBEdit Talk public discussion group. If you have a feature request or

Filetype for rc files?

2020-05-14 Thread @lbutlr
I’ve been using the “Unix Shell script” for rc files (like .vimrc, .slrnrc, .zshrc, etc) but I have to set it manually for each file. Can I make this automatic somehow? Also, can I teach BBEdit that lines that start with % in my slrnrc are comments? (I know they’re comments in some other files

Re: Preview video Dark Mode?

2020-05-12 Thread @lbutlr
On 09 May 2020, at 09:27, Rich Siegel wrote: > > On 5/9/20 at 5:51 AM, krem...@kreme.com (@lbutlr) wrote: > >> When I preview markdown files, they appear with white background. This >> is fine in HTML files since I can easily overwrite the style myself >> and it sho

Preview video Dark Mode?

2020-05-09 Thread @lbutlr
When I preview markdown files, they appear with white background. This is fine in HTML files since I can easily overwrite the style myself and it should show the HTML correctly, but there’s seemingly nothing I can do about the Markdown preview. My Color Scheme is set to BBEdit Dark and there

Re: Using BBEdit to `touch` files

2020-03-21 Thread @lbutlr
On 21 Mar 2020, at 06:24, Rod Buchanan wrote: > date -j -v -99d +"%Y%m%d” That’s interesting, I’ve never seen that syntax for the date command. It’s less readable, but doesn't require gdate to be installed. -- Advance and attack! Attack and destroy! Destroy and rejoice! -- This is the

Using BBEdit to `touch` files

2020-03-20 Thread @lbutlr
This might be useful to someone even though it is only tangentially related to BBEdit. I spent quite a bit of time (let’s not talk about the hours I spent trying to subtract 86,400 seconds from the current date in seconds repeatedly. I did get it working, but egads!) juggling bad ideas before

Re: Migrating to a new computer

2020-01-19 Thread @lbutlr
On 19 Jan 2020, at 10:44, Ken Corey wrote: > rief, to the point, accurate, knowledgeable, friendly and all delivered on a > Sunday evening. Patrick is the best. I mean, I know people throw that phrase around a lot these days, but in this case it’s totally accurate. (My usually response from

Re: [ANN] BBEdit 13 Pricing

2019-10-08 Thread @lbutlr
On Oct 5, 2019, at 11:45 AM, Fabrizio Ferrari wrote: > Great news, thanks Rich! BBedit is getting better and better! Agreed, looking forward to it… …assuming I can buy it. Have tried to get through teespring's purchase process twice now and it always fails to show the amazon payment options.

Preview php/html

2019-06-20 Thread @lbutlr
It’s been a while since i messed with php in BBEdit, but I think I remember I could preview a html page that use php somehow though it was somewhat complicated? Yes? How? Current BBEdit, current macOS Mojave non-beta. -- Lead me not into temptation, I can find the way. -- This is the

Re: Application Support (Cloud vs: Local Server)

2019-06-11 Thread @lbutlr
On Jun 11, 2019, at 9:28 AM, Rich Siegel wrote: >> Why? I know iCloud is a bit of a cluster That is very outdated information. iCloud has been rock solid for at least the last two years. However, the way iCloud works means that it can offload files at any time, and that is not really

Re: Syntax checking warnings

2019-06-07 Thread @lbutlr
On Jun 7, 2019, at 5:26 AM, Donald Goyette wrote: > On Thu, Jun 6, 2019, at 2:58 PM, @lbutlr wrote: >> It looks like that should work, and there are no errors reported (once >> I figured out how to save it as an application), but the warning check >> box doesn’t get unchec

Re: Syntax checking warnings

2019-06-06 Thread @lbutlr
> On Jun 6, 2019, at 2:07 PM, @lbutlr wrote: > > On Jun 6, 2019, at 1:00 PM, Rich Siegel wrote: >> You can still fix the warnings. :-) It's never wrong to entity-encode >> ampersands in URLs. > > You mean encode the encode ? Good lord, I kept look

Re: Syntax checking warnings

2019-06-06 Thread @lbutlr
On Jun 6, 2019, at 1:00 PM, Rich Siegel wrote:You can still fix the warnings. :-) It's never wrong to entity-encode ampersands in URLs.You mean encode the encode ?-- Rid yourself of doubt -- or should you? -George Carlin -- This is the BBEdit Talk public discussion group. If you have a

Re: Syntax checking warnings

2019-06-06 Thread @lbutlr
On Jun 6, 2019, at 7:11 AM, Donald Goyette wrote: > on menuselect(menuName, itemName) > -- returning false lets the menu command itself run > return false > end menuselect > on postmenuselect(menuName, itemName) > if menuName = "Check" and itemName = "Document Syntax" then >

Re: Syntax checking warnings

2019-06-06 Thread @lbutlr
On Jun 6, 2019, at 8:30 AM, Jan Erik Moström wrote: > On 6 Jun 2019, at 15:07, Rich Siegel wrote: >> You could fix the warnings. It'd be a tedious chore, but you would only have >> to do it once. I cannot fix the warnings because the URL is encoded properly according to the w3 validator. It

Re: Syntax checking warnings

2019-06-06 Thread @lbutlr
On Jun 2, 2019, at 11:15 AM, @lbutlr wrote: > Is it possible to have the syntax check (Markup => Check => Document Syntax) > default to NOT showing warnings unless I click on the warnings check box? I > only want to see actual error by default since in nearly all cases warnings

Re: iCloud, iOS version of BBEdit

2019-06-02 Thread @lbutlr
On Jun 2, 2019, at 9:42 AM, Timothy Waters wrote: > Yes! > Please, for the love of all that is nerdy, please make an iOS version at > least for iPad! I would gladly pay another $50 license fee for an iPad > version of BBEdit! > > On Friday, August 5, 2016 at 7:45:01 AM UTC-5, Christian C.

Syntax checking warnings

2019-06-02 Thread @lbutlr
Is it possible to have the syntax check (Markup => Check => Document Syntax) default to NOT showing warnings unless I click on the warnings check box? I only want to see actual error by default since in nearly all cases warnings are spurious “URL may need to be encoded” and I have to uncheck

Re: Missing "TYPE" code...

2019-05-09 Thread @lbutlr
On 9 May 2019, at 10:58, Scott in Pollock wrote: > I just created this folder action and assign it to my clippings folders. > Issued solved (and "Automated" thanks to Sal... too bad Apple let him go). > > This will change the modification date for every clipping file in the folder, pretty

Re: Missing "TYPE" code...

2019-05-09 Thread @lbutlr
On 9 May 2019, at 10:11, @lbutlr wrote: > I suppose I can just make a service in automator? This is what I ended up with as an Automator Action: <https://www.dropbox.com/s/0gapa4nqqw6wbex/Screenshot%202019-05-09%2010.31.15.png?dl=0> <https://www.dropbox.com/s/tcmqs4ec6qb5cbe/Scree

Re: Missing "TYPE" code...

2019-05-09 Thread @lbutlr
On 9 May 2019, at 09:12, Sam Hathaway wrote: > Another possible solution: BBEdit ships with a Service called “Open File in > BBEdit”. You can set a keybinding for it in the Keyboard prefpane (I use ⌘⌥B) > and use that to open any file in BBEdit, regardless of file extension or > other

Re: I did it again-CaSe PrObLeM

2019-05-04 Thread @lbutlr
On 3 May 2019, at 19:08, Charlie Garrison wrote: > If the core problem is issues due to difference in case sensitivity, doing > anything other than fixing the core problem is just bandaids. So I disagree, > I believe having a case-sensitive filesystem (whether boot volume or not) is > the

Re: I did it again-CaSe PrObLeM

2019-05-03 Thread @lbutlr
On 2 May 2019, at 19:53, Charlie Garrison wrote: > On 2 May 2019, at 18:16, Bucky Junior wrote: >> How do other BBEdit users deal with errors in case references? Is there a >> BBEdit function I don’t know about? Must I depend on my increasingly feeble >> brain to remember this when I make this

Re: I did it again-CaSe PrObLeM

2019-05-02 Thread @lbutlr
On 2 May 2019, at 02:16, Bucky Junior wrote: > How do other BBEdit users deal with errors in case references? in PHP or awk I always use lower case for anything that is not internal to the script (variables and constants) where those are mostly upper case. The exceptions are if I use variable

Re: grep - add character before search result instead of replace

2019-04-29 Thread @lbutlr
On 29 Apr 2019, at 14:38, Archibald Campbell wrote: > Good to know. Unfortunately for us, this was answered in another thread. Ah yes, I see that now. That explains the feeling of déjà vu. > Not sure why there were two. Looks like the OP posted two nearly identical messages. -- These are

Re: grep - add character before search result instead of replace

2019-04-29 Thread @lbutlr
On 29 Apr 2019, at 11:20, Archibald Campbell wrote: > In the search, put parentheses around your search pattern, ala (\d\d\d\d), > and then on the replace, try \t\1. The "\1" is a backreference to the > pattern, so it'll put that pattern after the tab. There's more in the manual > about it.

Re: typing surround delimiters... Is single quote supposed to work too?

2019-04-25 Thread @lbutlr
On 24 Apr 2019, at 21:23, Rails Smith wrote: > Double quote, square brackets, curly brackets works for me. > Will angle brackets and forward-slash be added? Oh no, please no. -- Living is easy with eyes closed, misunderstanding all you see -- This is the BBEdit Talk public discussion

Re: AS Help: Run Check Syntax on documentWillSave

2019-04-13 Thread @lbutlr
On 13 Apr 2019, at 12:26, Brandon Schneider wrote: > The idea is I want to run the #! command Check Syntax *before* a file saves > (on its contents), and if there's an error, do not save. I've been able to > achieve something close to this with calling external binaries, but I'd > rather use

Re: How to put numbers in front of selected lines?

2019-03-30 Thread @lbutlr
On 30 Mar 2019, at 05:37, Bill Kochman wrote: > > Ha! I took it a step further and installed coreutils, moreutils, findutils > and a number of others, via Homebrew and MacPorts. Both? I would pick one (Homebrew) and stick with it. I gave up MacPorts because it required a full install of Xcode

Re: How to put numbers in front of selected lines?

2019-03-30 Thread @lbutlr
On 30 Mar 2019, at 03:37, Christopher Stone wrote: > > `nl` is a part of coreutils. > > Here's a list of them: > https://en.wikipedia.org/wiki/List_of_GNU_Core_Utilities_commands And, veering ever so slightly off topic, there is also findutils which gives you access to gnu find and locate

Re: problem with grep replacing selected text

2019-03-01 Thread @lbutlr
On 1 Mar 2019, at 09:57, Rich Siegel wrote: > Command-Option("alt")-equal is "Replace All", which does the whole document. > > From your description I think you meant to use "Replace All in Selection", > which is Command-Ctl-equal. And! o You can also use the Text menu, Prefix/Suffix Lines

Re: BBEdit 12.6 Sandboxed?

2019-02-26 Thread @lbutlr
On 26 Feb 2019, at 14:58, Patrick Woolsey wrote: > This update builds on the changes in BBEdit 12.5, and *** adds application > sandboxing (for future compatibility with the Mac App Store) *** as well as a > variety of quality-of-life improvements. Oh. Well, yes, I could have read that. Doh!

BBEdit 12.6 Sandboxed?

2019-02-26 Thread @lbutlr
When I launched BBEDit 12.6 for the first time I noticed that it needed sandbox versions for my hard drive, does this mean that 12.6 is App Store ready? -- The Piper's calling you to join him -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical

Re: Auto-increase indent

2019-02-13 Thread @lbutlr
On 12 Feb 2019, at 20:30, Ehler wrote: > I'm very new to using BBEdit but love a lot of things about it! I'm hoping to > mimic a feature from Sublime Text that increases the indent contextually > based on what you're doing with the code. I don;'t know sublime or what exactly "indent

Re: distraction free

2019-02-13 Thread @lbutlr
On 12 Feb 2019, at 16:27, Keith Irwin wrote: > Do you know of a way to make the right-side scrollbar on the editor “auto > hide” like all the other scrollbars in desktop apps? Maybe check the thread. I was simply responding to the "Do you think we should report the show status bar property as

Re: A little grep help

2019-02-13 Thread @lbutlr
On 13 Feb 2019, at 00:43, Christopher Stone wrote: > That has to be a typo on your friend's part. There's no sense in adding a > capture for an optional literal 'm' – it adds nothing and can mangle words > ending in 'm'. Yep, none of the input I was testing had words ending in m, evidently.

Re: A little grep help

2019-02-12 Thread @lbutlr
On 12 Feb 2019, at 15:37, @lbutlr wrote: > replace all with (nun) Thanks for the helpful autocorrect! (nul) -- 'What can I do? I'm only human,' he said aloud. Someone said, Not all of you. —Pyramids -- This is the BBEdit Talk public discussion group. If you have a feature request or n

Re: A little grep help

2019-02-12 Thread @lbutlr
On 12 Feb 2019, at 15:29, Sam Hathaway wrote: > How exactly are you applying this pattern? Is this in BBEdit’s find window? I > can’t replicate what you’re seeing. (For me it replaces one span of spaces at > a time, including any m that precedes it.) Never mind, in BBEdit I am of course, doing

Re: Problems with spellcheck?

2019-02-12 Thread @lbutlr
On 12 Feb 2019, at 14:37, Barbara Snyder wrote: > andd dand specfic If I paste them into BBEdit from your message, only andd is underlined. If I back space to the end of specfic and then hit the space bar, it is highlighted, if I add a space after dand it is also highlighted. This is very

Re: A little grep help

2019-02-12 Thread @lbutlr
On 12 Feb 2019, at 06:53, Rich Siegel wrote: > 'm guessing it was "(?m)\s+" Tha would make SLIGHTLY more sense, but it is definitely (m?)\s+ (I’ve checked it a dozen times) what I don’t get is that in the sample --- You received this message because you are

A little grep help

2019-02-12 Thread @lbutlr
I asked someone how to remove all spaces in an string more efficiently and he responded with search: (m?)\s+ replace: (nul) which sure does work. But WHY? That is, I know what this does, but I don't understand the syntax -- Major Strasser has been shot. Round up the usual suspects. --

Re: Image won't appear

2019-02-12 Thread @lbutlr
On 11 Feb 2019, at 17:45, Charlie Garrison wrote: > I presume all mainstream apps are tested on both case-(insensitive) > filesystems these days. I doubt this is true. I know, second hand. that Adobe software has and many issues with case-sensitive HFS+ volumes, though I do not know for sure

Re: BBEdit from the command line and disk browser?

2019-02-11 Thread @lbutlr
On 11 Feb 2019, at 00:18, Christopher Stone wrote: > On 02/10/2019, at 08:48, @lbutlr wrote: >> When the BBEdit man page says "the specified files" for a flag, it means >> that a file is required. (FSVO of the word file) > > bbedit -s 'What file is required?'

Re: BBEdit from the command line and disk browser?

2019-02-10 Thread @lbutlr
On 10 Feb 2019, at 13:27, Christopher Stone wrote: > On 02/10/2019, at 08:48, @lbutlr wrote: >>> These work, but they change the working directory. >> >> Yes, I thought that was what you wanted. >> >>> The whole purpose of my request was to provid

Re: BBEdit from the command line and disk browser?

2019-02-10 Thread @lbutlr
On 9 Feb 2019, at 15:02, Christopher Stone wrote: > On 02/09/2019, at 03:08, @lbutlr wrote: >> >> $(cd ~/Downloads; ls -l |bbedit -s) >> >> or >> >> echo 'ls -l' | $(cd ~/Downloads; bbedit -s) > > Hey Lewis, > > These work, but

Re: BBEdit from the command line and disk browser?

2019-02-09 Thread @lbutlr
On 8 Feb 2019, at 16:42, Christopher Stone wrote: > echo 'ls -l' | bbedit --worksheet ~/Downloads ls -l | bbedit -s or $(cd ~/Downloads; ls -l |bbedit -s) or echo 'ls -l' | $(cd ~/Downloads; bbedit -s) -- I know it all. I just can't remember it simultaneously. -- This is the BBEdit

Re: BBEdit from the command line and disk browser?

2019-02-08 Thread @lbutlr
On 7 Feb 2019, at 20:38, Rich Siegel wrote: >ls -l | bbedit --worksheet > > "-s" is the short form of "--worksheet". Well, it's been a few years since I asked about something that's been in BBEdit for years, but I'm sure it won't be the last time. -- Come on. Somewhere at the edge of the

Re: BBEdit from the command line and disk browser?

2019-02-07 Thread @lbutlr
On 7 Feb 2019, at 20:30, Rich Siegel wrote: > Have you tried "bbedit ."? Sorry, I misspoke. I meant "shell worksheet" not "disk browser" (But yes, that is cool). I really should go to bed. Or I could make another pot of coffee and go for 24 hour uptime! :) -- For a very few, the sky's

Re: Navigating folders and files in a project sidebar from the keyboard?

2019-02-07 Thread @lbutlr
On 7 Feb 2019, at 20:27, @lbutlr wrote: > > and at the end you can only move forward. brain-o, backward, of course. -- I thought that they were angels, but to my surprise, we climbed aboard their starship, we headed for the skies. -- This is the BBEdit Talk public discussion group.

Re: Navigating folders and files in a project sidebar from the keyboard?

2019-02-07 Thread @lbutlr
On 7 Feb 2019, at 14:58, Christopher Stone wrote: > As I said – Control-Shift Tab – moves you FROM the sidebar TO the document > being edited. > > Control-Tab moves you FROM the document being edited TO the FILES part of the > sidebar. This is confusing. I now what you are talking about and I

BBEdit from the command line and disk browser?

2019-02-07 Thread @lbutlr
Unless I missed something in man bbedit, there is no way to open BBEdit from the command line into a disk browser. It occurred to me that `ls | bbedit --diskbrowser` would be really useful to me. --disk-browser open BBEdit in the disk browser mode at the current directory -- I don't need no

Old BBEdit versions?

2019-02-07 Thread @lbutlr
How would I go about fixing “Open With” Showing old versions of BBEdit that are not installed? There is only one BBEdit application on my computer. # mdfind -name BBEdit | grep "app$" /Applications/BBEdit.app #

Syntax error checking Ibn BBEdit

2019-01-29 Thread @lbutlr
BBEdit (12.5.2) gives me an encoding error when checking syntax: ~/Documents/test.html 3:154: Value of attribute “href” for element “” is invalid; URL path needs encoding (“mailto:admin@example?Subject=27-Jan-2019%2043nyCZ43y4zcfChBody=Search%20this%20message%20ID%20in%20mailG.log.”). But

Re: Skip 30-Day Evaluation?

2019-01-28 Thread @lbutlr
On 27 Jan 2019, at 17:11, Rich Siegel wrote: > On 1/27/19 at 4:22 PM, memoriesinportr...@gmail.com (Jeff Kazules) > wrote: > >> I'm not the type of user that would ever need or want the full version >> and I'd like to jump ahead so I don't see the "30-day Evaluation >> Version" messages. Is

Decent HTML list?

2019-01-28 Thread @lbutlr
I’ve been having some odd issues with the way an HTML mail displays in the iOS mail app that I can’t figure out (the file is displaying just fine in desktop browsers), but I don’t know a good HTML list to look for some help. The file has one syntax error in it that I don’t know how to get

Re: Want to strip text out of closed captions to send my father who's partially disabled.

2019-01-19 Thread @lbutlr
On 18 Jan 2019, at 19:00, Dj wrote: > 1092 > 00:40:25,710 --> 00:40:29,220 > the kid has no idea what you mean Matching the lines starting with a number is trivial. Find: ^\d.*\r Replace: For the HTML you need to remove everything from a < to a >, inclusive Find: <[^>]+> Replace: BUT,

Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-14 Thread @lbutlr
On 14 Jan 2019, at 10:15, Bruce Linde wrote: > why do we care about word boundaries? Possibly because you do not want to strip leading spaces from the file? -- I gotta straighten my face This mellow-thighed chick just put my spine out of place -- This is the BBEdit Talk public discussion

Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-14 Thread @lbutlr
On 12 Jan 2019, at 18:32, Dj wrote: > I'm trying to replace spaces between words so a sentence like this: > > "this line has really messed upspacing” It doesn’t look to me like this was actually answered. All the replace multiple space will replace ALL multiple

  1   2   >