Re: Code fragment listing that includes line numbers?

Owen Thomas <[email protected]> Sat, 11 Apr 2026 08:56:52 +1000
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <CACtgfNkvA__rhqgmxvVOSeSY3ZmDcv9jSi0PX-xv5XuxGKzBYg@mail.gmail.com>
--00000000000026fd1e064f230d46
Content-Type: text/plain; charset="UTF-8"

On Fri, 10 Apr 2026 at 22:29, Peter Hull <[email protected]> wrote:

> On Fri, 10 Apr 2026 at 12:50, Owen Thomas <[email protected]>
> wrote:
> > If not, then what other ways might this be done on Linux?
>
> You could use "cat -n FILE" and redirect the output to a new file.


Thanks Pete. I'll try that. :)

--00000000000026fd1e064f230d46
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, 10 Apr =
2026 at 22:29, Peter Hull &lt;<a href=3D"mailto:[email protected]">pete=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);p=
adding-left:1ex">On Fri, 10 Apr 2026 at 12:50, Owen Thomas &lt;<a href=3D"m=
ailto:[email protected]" target=3D"_blank">owen.paul.thomas@gmail.=
com</a>&gt; wrote:<br>
&gt; If not, then what other ways might this be done on Linux?<br>
<br>
You could use &quot;cat -n FILE&quot; and redirect the output to a new file=
.</blockquote><div><br></div><div>Thanks Pete. I&#39;ll try that. :)=C2=A0<=
/div></div></div>

--00000000000026fd1e064f230d46--