Skip to content

Commit

Permalink
added xmlstarlet ls command
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeetsarkar committed Nov 21, 2017
1 parent 9f19e6b commit 19f0843
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xmlstarlet-demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ function main() {
if [ $1 == 'data/books.xml' ]; then
processBookstore $1
fi
otherUtils
}

function otherUtils() {
echo $'\n\nList directory as xml'
xmlstarlet ls
}

function processBookstore() {
Expand Down

0 comments on commit 19f0843

Please sign in to comment.