OK, but there's no *shell integration* using that. *Shell integration* is a specific text sensitive clickable application inside a terminal program. Here is what it does:
iTerm Shell Integration <https://iterm2.com/documentation-shell-integration.html> I thought somehow if I made some syntax in the results, I could instruct the file to open given metrics much like you provided above. Almost like putting a *bbedit* link in the terminal. On Tuesday, January 31, 2023 at 8:55:39 AM UTC-5 Neil Faiman wrote: > On Jan 31, 2023, at 6:55 AM, BeeRich33 <[email protected]> wrote: > > > Is there a way to get *shell integration* to point to a specific line in > a *BBEdit* file? > > I want to use *iTerm2* to display links to files that can be opened in > *BBEdit* (*.md *files), but I want that click navigation to also go to > the line. > > Can this be done? > > > From the BBEdit command line tool man page: > > *+*<line number>, filename*:*<line number> > Go to line number. For example, to select line 33: > > bbedit +33 filename > bbedit filename:33 > > You may also use a character offset specification: > > bbedit +33:10 filename > bbedit filename:33:10 > > This will place the insertion point at character offset 10 on > line > 33 in the above example. > > When piping data into *bbedit*, you can also add a line number > specifier, and BBEdit will place the insertion point at the > beginning of the indicated line, e.g. > > ls -la | bbedit +5 > > will select the fifth line of text in the text document. (Using > *--append* or *--prepend* is allowed, but works at cross > purposes: the > indicated line in the document will be selected, irrespective > of > whether it's in the piped data or not.) > > Character offset specifications are allowed here as well: > > ls -la | bbedit +5:60 > > Regards, > Neil Faiman > -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/8de5f90a-7ba8-43e8-8b27-3e6d970e9846n%40googlegroups.com.
