Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Christopher Waterman
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Reavis
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Lorenz Groth
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Tom Robinson
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Chris
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Christopher Waterman
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Christopher Stone
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!'

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Luis Speciale
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Patrick Woolsey
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread Lorenz Groth
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

Re: First Use - quick way to get a list of numbers for output

2021-12-30 Thread jj
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

First Use - quick way to get a list of numbers for output

2021-12-30 Thread Lorenz Groth
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