On 1 Jul 2021, at 18:48, Ethan Gardener
mailto:eeke...@fastmail.fm>> wrote:
sam -d can't display line numbers
You can sort of display them via
,x {
p
}
Though it’s ugly and annoyingly can’t apply sam’s regex to remove the character
locations.
Silas
--
On Fri, Jul 2, 2021, at 4:03 PM, silas poulson wrote:
>> On 1 Jul 2021, at 18:48, Ethan Gardener wrote:
>> sam -d can't display line numbers
>
> You can sort of display them via
>
> ,x {
> p
> }
>
> Though it’s ugly and annoyingly can’t apply sam’s regex to remove the
> character locations.
M
> In any case, Plan 9's ed has a nice "browse" command which sam can't match. I
> used to issue "0bn", then just "b" once per page. Or, if you don't want line
> numbers, leave out the "n".
"+,+20p" does it. Doesn't work near the end of the file, though; not
sure if that can be improved within th
In ether82563.c, there are some definitions like:
Tdbal = 0x3800, /* Tdesc Base Address Low */
Tdbah = 0x3804, /* Tdesc Base Address High */
Tdlen = 0x3808, /* Descriptor Length */
Tdh = 0x3810,
nothing's tying you to sam syntax:
,|awk '{print NR "\t" $0}'
then undo.
umbraticus
--
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/T716c5aa0e2aa8a27-Mc258d9e136ffe16b7aeb04fa
Delivery options: https://9fans.topicbox.com/groups/9fans/s