Parse and extract data from various file formats.
jsonParse JSON files (uses jq if available, else built-in)
scripts/script.sh json
csvParse CSV files, optionally extract a column by name or number
scripts/script.sh csv
xmlParse XML files with optional XPath (requires python3)
scripts/script.sh xml
yamlParse YAML files with optional key path (requires python3)
scripts/script.sh yaml
linesFilter lines by pattern (grep-like, with context)
scripts/script.sh lines
splitSplit file content by delimiter
scripts/script.sh split
extractExtract text matching a regex pattern
scripts/script.sh extract
statsShow file statistics (lines, words, chars, encoding)
scripts/script.sh stats
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
Parse results can be cached in ~/.local/share/parser/.
共 2 个版本