Re: Help with Grep syntax

2023-08-31 Thread Kaveh Bazargan
Doea this work?

Search for
*"\[([0-9]+)\]"*
Replace with
*""*

See here .

On Fri, 1 Sept 2023 at 07:43, mrcmrc  wrote:

> Hi all, I would need help writing a Grep syntax to remove all square
> brackets and the numbers in them from a text. Basically, I have texts to
> which I would like to remove the numerical references in the notes. The
> numbers can be units, tens or hundreds.
>
> Example:
>
> Other conventions introduced by Doyle include the arch-criminal who is too
> clever for the official police to defeat, like Holmes's adversary Professor
> Moriarty, and the use of forensic science to solve cases.[1]
>
> The Sherlock Holmes stories established crime fiction as a respectable
> genre popular with readers of all backgrounds, and Doyle's success inspired
> many contemporary detective stories.[174] Holmes influenced the creation of
> other "eccentric gentleman detective" characters, like Agatha Christie's
> fictional detective Hercule Poirot, introduced in 1920.[175]
>
> Thanks!
> - Marco.
>
> --
> This is the BBEdit Talk public discussion group. If you have a feature
> request or need technical support, please email "supp...@barebones.com"
> rather than posting here. Follow @bbedit on Twitter: <
> https://twitter.com/bbedit>
> ---
> You received this message because you are subscribed to the Google Groups
> "BBEdit Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bbedit/474ff991-eb45-4ee6-b1b7-9d21e3a538f3n%40googlegroups.com
> 
> .
>


-- 
Kaveh Bazargan PhD
Director
River Valley Technologies  ● Twitter
 ● LinkedIn
 ● ORCID
 ● @kaveh1000@mastodon.social

*Accelerating the Communication of Research*

*

 [image:
https://rivervalley.io/gigabyte-wins-the-alpsp-scholarly-publishing-innovation-award-using-river-valleys-publishing-technology/]
*

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/CAJ2R9phpS7XwWQn%2B5oKzWbp3q-5uvF4FVCNxy-bguvq_H1qi5g%40mail.gmail.com.


Re: How to run BBEdit from Terminal - macOs

2023-08-31 Thread Bill Meacham
Thanks! Fixed now.

On Thursday, August 31, 2023 at 2:31:21 PM UTC-5 Rich Siegel wrote:

> On 31 Aug 2023, at 15:28, Bill Meacham wrote:
>
> > I'm running macOS 10.14.6 (Mojave)
> > I'm running BBEdit version 12.6.7 (412120, 64-bit, sandboxed)
> >
> > How can I run BBEdit from the terminal? Here is what I tried:
> > [...]
>
> The first step is to install the command-line tools, which you can do from 
> the BBEdit application menu.
>
> Then you can run `bbedit`, `bbfind`, and `bbdiff`.
>
> Each has a man page that will tell you how the (respective) tool works.
>
> Top tip: running `bbedit` by itself does not launch the application until 
> it is finished reading from standard input; use `bbedit -l` if all you want 
> to do is start the application.
>
> Enjoy,
>
> R.
>
>
> -- 
> Rich Siegel Bare Bones Software, Inc.
>  
>
> Someday I'll look back on all this and laugh... until they sedate me.
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/4ea60cc3-9d04-4aca-b14d-7def1f8d5701n%40googlegroups.com.


Re: How to run BBEdit from Terminal - macOs

2023-08-31 Thread Rich Siegel
On 31 Aug 2023, at 15:28, Bill Meacham wrote:

> I'm running macOS 10.14.6 (Mojave)
> I'm running BBEdit version 12.6.7 (412120, 64-bit, sandboxed)
>
> How can I run BBEdit from the terminal?  Here is what I tried:
> [...]

The first step is to install the command-line tools, which you can do from the 
BBEdit application menu.

Then you can run `bbedit`, `bbfind`, and `bbdiff`.

Each has a man page that will tell you how the (respective) tool works.

Top tip: running `bbedit` by itself does not launch the application until it is 
finished reading from standard input; use `bbedit -l` if all you want to do is 
start the application.

Enjoy,

R.


-- 
Rich Siegel Bare Bones Software, Inc.
  

Someday I'll look back on all this and laugh... until they sedate me.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/76776EAD-C743-4F9F-A556-2BAF7ABA3AB2%40barebones.com.


How to run BBEdit from Terminal - macOs

2023-08-31 Thread Bill Meacham
I'm running macOS 10.14.6 (Mojave)
I'm running BBEdit version 12.6.7 (412120, 64-bit, sandboxed)

How can I run BBEdit from the terminal?  Here is what I tried:

Bill's Air:~ bmeacham$ bbedit

-bash: bbedit: command not found

More info:

Bill's Air:~ bmeacham$ echo $PATH

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/bin

Bill's Air:~ bmeacham$ cd /

Bill's Air:/ bmeacham$ find bbedit -print

find: bbedit: No such file or directory

Now what? Can I run 

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: 
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/4305786a-3754-435f-914b-4b4d877eee0bn%40googlegroups.com.