RE: [newbie] xml and grep

2004-03-23 Thread Tony S. Sykes
Thanks everyone I will be putting this into practice asap to save my fingers. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Carl J. Bauman Sent: Tuesday, March 23, 2004 12:13 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] xml and grep [EMAIL PROTECTED

[newbie] xml and grep

2004-03-22 Thread Tony S. Sykes
Help, I have my web limited by my company now, so I can't google till tomorrow. I need help with parsing an xml file. I need to cut out a fax number from the file. Easy enough I though just grep and cut the line, but the whole file is one line. I know this is a simple command but I can't work

[newbie] xml and grep

2004-03-22 Thread Tony S. Sykes
Help, I have my web limited by my company now, so I can't google till tomorrow. I need help with parsing an xml file. I need to cut out a fax number from the file. Easy enough I though just grep and cut the line, but the whole file is one line. I know this is a simple command but I can't work

Re: [newbie] xml and grep

2004-03-22 Thread Marc Lijour
Help, I have my web limited by my company now, so I can't google till tomorrow. I need help with parsing an xml file. I need to cut out a fax number from the file. Easy enough I though just grep and cut the line, but the whole file is one line. I know this is a simple command but I can't work

Re: [newbie] xml and grep

2004-03-22 Thread Marc Lijour
Here is the complete scenario: urpmi libxslt-proc [EMAIL PROTECTED] xmlTest]$ xsltproc trans.xsl test.xml [EMAIL PROTECTED] xmlTest]$ It should work regardless of the position of the fax element (or rename it as necessary). Help, I have my web limited by my company now, so I can't google

Re: [newbie] xml and grep

2004-03-22 Thread Todd Slater
On Mon, Mar 22, 2004 at 02:53:50PM +, Tony S. Sykes wrote: Help, I have my web limited by my company now, so I can't google till tomorrow. I need help with parsing an xml file. I need to cut out a fax number from the file. Easy enough I though just grep and cut the line, but the whole

Re: [newbie] xml and grep

2004-03-22 Thread Carl J. Bauman
[EMAIL PROTECTED] wrote: On Mon, Mar 22, 2004 at 02:53:50PM +, Tony S. Sykes wrote: Help, I have my web limited by my company now, so I can't google till tomorrow. I need help with parsing an xml file. I need to cut out a fax number from the file. Easy enough I though just grep and cut the

[newbie] for if grep ???

2000-09-09 Thread Paul
Hi everyone, I am messing with a script and I run into a problem (would you otherwise hear from me?) The problem: I receive a bunch of files at time. Depending on certain keywords in the file I need to move these files to specific location. My attempt: for a in * ; do if [ 'grep