repo.or.cz
/
sunny256-utils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
jsonfmt.py: Don't sort the JSON, use the new -s/--sort option for that
[sunny256-utils.git]
/
xf
blob
a2ff8bc4f1640790af2a1ffd81b47d880abd08d8
1
#!/bin/sh
2
3
# xf
4
# File ID: da505ade-5d49-11df-b098-90e6ba3022ac
5
6
fromfile
=-
7
8
if
[
"
$1
"
!=
""
];
then
9
fromfile
=
"$@"
10
fi
11
12
xmllint
--format --encode
UTF-8
--nocdata
$fromfile