views:

76

answers:

1

Hi,

I don't know how to create a text feed files using UNIX shell scripts?

Can you please give me the sample for the same.

A: 

I assume you are going to create RSS feeds. Search the web for how to create RSS feeds. There are many examples, such as this and this and many more. the basic idea is to echo the information to a file,

eg

echo '<?xml version="1.0" encoding="utf-8"?>' >> feeds.txt

there are also feed tools such as rsstool to make creation easy. I have not used it, but you can have a look

ghostdog74