+<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