xprop: refacturing

René gadefoxren at gmail.com
Mon Jan 24 12:56:55 UTC 2022


I redeveloped `xprop.., so it fits my expectations:
- the tool does not allocate 1MB every time
- no limit for buffer
- refacturing the code
- colorized output
--raw param for scripts
- bug fixing
- $@ tag for pro name
$# tag for prop type
$^^ tag for separator
- no need to use `sed for paring the output e.g. I just use --dformat (def.
format)=$8s:$0 --raw for getting string prop. or --dformat=8s:$^:^$0+ for
the list
- double --args with =
- src is split to more files
- no exit fn call
- memory releasing at the end

please note it's not small patch so I don't know how to upload the files to
git. who is managing the src code let me know
Rene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-devel/attachments/20220124/c9b72e63/attachment.htm>


More information about the xorg-devel mailing list