Marc,
Bruce is correct, I let a curly quote get in there somehow.
Needing a sequence of numbers does come up. The seq command is a nice one to
have on hand.
The basic form is easy to remember: seq
Have a great new year,
Chris
--
This is the BBEdit Talk public discussion group. If you
Chris,
Thanks for your informative series of posts. I've tried running the various seq
commands in them. All work except for:
seq -f 'word%02g’ 10
When I try this, the Terminal (macOS 11.13.1; zsh) returns:
quote>
Nothing I enter after the > has worked. I tried to find help online, but
Thanx a lot Jean! That's exactly what I was looking for. There are some
trouble with latex syntax (such as command with "\" and "{}" and stuff)
that should replace "word" but I'll find way to fix that. So my problem is
solved! And I have a good example of how to use BBEdit :-)
jj schrieb am
I’ve always used option-click for that.
Bare Bones removed the restriction of needing unwrapped text a version or 2 ago
:]
Cheers
> On 2021-12-31, at 11:08, Luis Speciale wrote:
>
> Change the wrap text option to none.
> Now you can select vertically (right click).
--
This is the BBEdit
I made a mistake.
seq -f 'word%02g’ 10
Should be:
seq -f 'word%02g’ 4
Sorry
--Chris(topher)?
> On Dec 30, 2021, at 4:47 PM, Christopher Waterman
> wrote:
>
> Hello,
>
> I recently discovered this solution for this kind of thing. I use the unix
> command: ‘seq' with the the -f flag and
Hello,
I recently discovered this solution for this kind of thing. I use the unix
command: ‘seq' with the the -f flag and BBEdit’s Run Unix Command.
Seq creates sequences of numbers, the -f flag allows you to use a formatted
string as output.
So to produce:
word01
word02
word03
word04
I’d
On Dec 30, 2021, at 13:49, Lorenz Groth wrote:
> What I want to learn is how to produce a simple list of numbered word such as
> word01
> word02
> word03
> word04
Hey Lorenz,
The most direct method is probably to use a text filter like so:
#!/usr/bin/env bash
seq -w 200 | sed s'!^!Word!'
how to produce a simple list of numbered word such as
word01
word02
word03
word04
Open a new document. Change the wrap text option to none.
Now you can select vertically (right click).
Make carriage returns (the number the words you need)
Now go to Text>Add/Remove line numbers
Make your
On 12/30/21 at 3:59 PM, lorenz.gr...@gmail.com (Lorenz Groth) wrote:
Thanx to Ted for your quick reaction and a semi-solution. That
works. But it would be really nice to know how to generate such
repeating terms. Because I need this often and in different ways.
So I'm glad for today but still
Thanx to Ted for your quick reaction and a semi-solution. That works.
But it would be really nice to know how to generate such repeating terms.
Because I need this often and in different ways.
So I'm glad for today but still interested in a more professional solution.
T Burger schrieb am
Hi Lorenz,
Execute this snippet of AppleScript with Script Editor:
tell application "BBEdit"
set vContents to ""
repeat with i from 1 to 15
set vNumber to i as string
if i < 10 then
set vNumber to "0" & vNumber
end if
Hello!
I used to use programs like maple (math software) and latex for text
editing. But I am new at programming other stuff.
What I want to learn is how to produce a simple list of numbered word such
as
word01
word02
word03
word04
automatically to not have to do this by typing.
Can anyone
12 matches
Mail list logo