Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

getextattr/setextattr changes

1 view
Skip to first unread message

Emmanuel Dreyfus

unread,
Jul 9, 2011, 3:03:25 AM7/9/11
to
I plan a few changes to getextattr(1) and setextattr(1) to make them a
bit more usable.

- Add a -s flag to getextattr to specify a vis(3) format. e.g.:
getextattr -s octal user foo file

- Invoke hexdump(1) for displaying the value when getextattr -x is used.
The existing hexadecimal display is just a mess.

- Add a -i flag to setextattr so that the attribute value can be taken
from a file (- for stdin). This would help setting binary values

Opinions?

--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
ma...@netbsd.org

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

0 new messages