New answers tagged string
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
string × 808bash × 329
shell-script × 170
sed × 124
shell × 119
grep × 91
awk × 89
text-processing × 73
regular-expression × 53
linux × 50
search × 45
variable × 42
replace × 38
files × 32
scripting × 30
array × 27
zsh × 26
filenames × 24
command-line × 21
find × 20
quoting × 19
test × 18
wildcards × 13
text-formatting × 13
cut × 13