plutil
plutil copied to clipboard
A cross-platform, drop-in replacement for Apple's plutil.
I know this project is kind of old, but figured I'd level up the automated code-checking situation here. This PR turns on the trunk superlinter, that runs clang-tidy, which is...
https://github.com/withgraphite/plutil/blob/affa752451b76e18d50fa9a8f8c1c30cfa6519c2/Libraries/plist/Tools/plutil.cpp#L616-L617 The second parameter to `path.find` should be `start`, otherwise it will always find the first `.`, and the sub-key will be `path.substr(first-dot-index, -1)`, cause the program to report `error:...
Hello, I had to add the following in the `Libraries/plist/Sources/Format/Encoding.cpp` file: ``` include ``` in order to be able to compile the sources. This library provides the `abort()` function. Cheers
## Summary `make install` does not copy `liblinenoise.so`. ## Reproduction ``` % docker run --rm -it ubuntu:20.04 root@e4dfaf16dcce:/# export DEBIAN_FRONTEND=noninteractive root@e4dfaf16dcce:/# cd usr/src/ root@e4dfaf16dcce:/usr/src# apt update && apt install tzdata...
Fails with unexpected number in JSON
Apple's native `PlistBuddy` can accept multiple commands at once, for example: ``` /usr/libexec/PlistBuddy \ -c "Add :Key1 string Value1" \ -c "Add :Key2 string Value2" \ Info.plist ```
Apple's native `plutil` can accept a plist from stdin (denoted with the filepath "-").
this repo is broken. so i did some basic edits to fix it. yes ik removing tests is stupid but its just a quick fix for a script im making...