[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

XML and shell script

Posted on 2004-12-01
3
Medium Priority
?
309 Views
Last Modified: 2010-05-18
Could a bash script read the output from a XML page?
We have an web based API that will allow us to output data in XML form....
http://domain.com/cgi-bin/config_get.cgi?variable=mta_relay_domain
I'd like have a bash script that reads this data.
Will this be possible? If so how would I do this?
0
Comment
Question by:wookaka
1 Comment
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 12720402
It's easy enough to read the data, but processing it is something that you really don't want to do with a shell script.

You can use wget, curl, lynx or similar to read the data.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question