Introduction
Statistics
Contact
Development
Disclaimer
Help
2018-03-12
__S_a_m__q_u_e_s_t_i_o_n_s__________________________________________
fter reading the sam tutorial again to improve my sam foo, I opened
p deadpixie's sam[0] clone's issue page on github.
got stunned by a request[1] for the beginning of line address
ommand, which I have never used and always misread as being the same
s ^. See the cheatsheet[2] for a comparison.
o I sat down and after a short while came up with a small patch[3]
hat implements this. But what should the end of line address look
ike? In the cheatsheet it is the same as the end of file address '$'
ut how does sam distinguish between them?
could not find a trace about this in the deadpixie source so I have
loned the plan9port repo[4] to be sure. Nothing. Then I checked the
front[5] sources, also nil.
am scratching my head now. Where did this command come from? I am
till searching for it. The reporting user has gone silent, so I'll
now tomorrow maybe.
f you have got any hints please let me know!
__References________________________________________________________
0]: https://github.com/deadpixi/sam
1]: https://github.com/deadpixi/sam/issues/69
2]: http://sam.cat-v.org/cheatsheet/
3]: https://github.com/ckeen/sam/commit/697a5f25e51a4077ebc2078d8b5fee038016e6b1
4]: https://github.com/9fans/plan9port
5]: https://code.9front.org/hg/plan9front/file/d42f25e223fc/sys/src/cmd/sam