New answers tagged variable
0
votes
Need to retrieve XML value properly
Using sed to parse xml is a very bad design. Really. Don't do it.
Even in shell, there's some good xml parsers out there, using xpath querys.
$ cat file.xml
<root>
<Name> bar </Name>...
Top 50 recent answers are included
Related Tags
variable × 1231bash × 648
shell-script × 339
shell × 248
scripting × 84
awk × 71
linux × 66
sed × 66
quoting × 66
variable-substitution × 53
string × 42
zsh × 41
array × 41
function × 41
environment-variables × 38
echo × 38
text-processing × 36
grep × 36
test × 27
for × 25
read × 24
find × 23
command-line × 22
command-substitution × 22
pipe × 21