Hello Tom,
Thank you very much for that explanation. Yes, it is very helpful and will help
me to write more complex patterns.
Earlier this morning I was looking through the greg section of the BBEdit
manual, trying to find what I was referring to as a “not operator”. I even
checked online, but
Hello folks,
I apologize for the delay in getting back to you, but I have been very sick and
had to go to bed.
At any rate, I just bit the bullet and redid everything from scratch using
backup copies of the original 1256 files.
To provide more details, the link that I broke in each of those fi
got backups?
On Sunday, February 26, 2017 at 2:09:35 PM UTC-8, Tom Robinson wrote:
>
> That was my thought, but looks like OP managed to change text which varied
> for each link, to a fixed string in all the files :[
>
>
> > On 2017-02-27, at 10:39, Jean-Christophe Helary <
> jean.christ...
That was my thought, but looks like OP managed to change text which varied for
each link, to a fixed string in all the files :[
> On 2017-02-27, at 10:39, Jean-Christophe Helary
> wrote:
>
> You can use a regex to fix the broken links :) There's plenty of hope.
>
> Now what it the pattern of
> So go ahead and tell me that I just have to go back and start all over again
> with a fresh copy of the files, because there is no way to undo a multi-file
> find and replace.
You can use a regex to fix the broken links :) There's plenty of hope.
Now what it the pattern of those broken links
Normally relative links are a better way to run a site — you can move pages to
a different host, put them in sub-directories, etc., without changing the HTML.
>
>> And I'd replace with:
>>
>> https://www.billkochman.com/Articles/\1
>>
>> Jean-Christophe
--
This is the BBEdit Talk public dis
Hello Jean-Christophe,
Thank you for your assistance. I appreciate it.
Using that grep pattern found only ONE relative URL in almost 6,000 HTML docs.
Considering how much I have used BBEdit’s multi-file find and replace feature
to make global changes to my primary virtual host over the past few
Yes, I thought about it afterwards, thanks. :)
On Sunday, February 26, 2017 at 4:50:11 PM UTC+2, micmac wrote:
>
> Applescript can call a bash commandline statement. U can make up a
> statement like rm fullpath/*.jpg
>
> On Feb 26, 2017 10:12 PM, "Adrian Manea" > wrote:
>
>> OK, I seem to have s
I kind of suspect what I am going to be told, but let me ask anyway with a
glimmer of hope.
I have just spent a few hours cleaning up the HTML code in about 1256 docs in
one of my virtual host’s directories.
I just did a final multi-file find and replace, and then realized when I got a
broken
Applescript can call a bash commandline statement. U can make up a
statement like rm fullpath/*.jpg
On Feb 26, 2017 10:12 PM, "Adrian Manea" wrote:
> OK, I seem to have sorted out the filePath part, but apparently
> AppleScript does not take many extensions with "or"? Or am I doing
> something w
Right... I finally got it. It's much more than I described, but it covers
all of my needs, since sometimes I edit the same file today with Sublime,
tomorrow with BBEdit. :)
Here's the script:
*tell* *application* "BBEdit"
*set* w *to* *text window* 1
*set* the_file *to* *file* *of* active doc
OK, I seem to have sorted out the filePath part, but apparently AppleScript
does not take many extensions with "or"? Or am I doing something wrong?
Script:
*tell* *application* "BBEdit"
*set* w *to* *text window* 1
*set* the_file *to* *file* *of* active document *of* w *as* *text*
-- set file
OK, I'm pretty sure this is an easy one, but since I have close to zero
experience with AppleScript, I have to ask:
Could anyone please help me with a script that gets the path to the
containing folder of the current (open, frontmost) text file of BBEdit?
Concrete use: I would then add to the s
Bill,
> https://www.billkochman.com/Articles/my-article.html
>
> https://www.billkochman.com/Articles/";.
> If I use this:
>
> \t\t there because all such lines are prefixed by two tabs.
There is not need to check for the presence of tabs since what you want
concerns only the URL.
Since the
Hello again,
I want to convert all of my relative URLs to absolute URLs.
The problem is that I do not know where the remaining relative URLs are located
in my virtual host's folder.
I have been reading the grep patterns section of the BBEdit manual, but I still
haven't quite understood how to
15 matches
Mail list logo