LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2011, 11:31 AM   #16
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,326

Rep: Reputation: 253Reputation: 253Reputation: 253

Letís try it on the commandline:
Code:
$ echo -e "<webapp>\n</webapp>" | sed "/<webapp>/a foobar"
<webapp>
foobar
</webapp>
Do you get the same?
 
1 members found this post helpful.
Old 06-22-2011, 09:55 AM   #17
sysmicuser
Member
 
Registered: Mar 2010
Posts: 332

Original Poster
Rep: Reputation: 0
Cooking

We are there thanks Reuti for your persistence much appreciated.

Now you can slap on face and happy to call me idiot!

The issue was I was using <web-app> instead of <webapp>!

Both techniques give by you work pretty well!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not add update server into my configuration vitalstrike82 SUSE / openSUSE 4 03-24-2008 09:42 AM
DNS configuration and configuration file in RHEL5 remo1225 Linux - Newbie 1 02-20-2008 05:25 AM
Online update configuration John Boyle Linux - Software 3 08-29-2006 03:58 PM
Yum Update complains of missing file to do update, but file exists! davidas Linux - Newbie 0 03-28-2004 12:14 PM
kernel update; what about the old configuration b0uncer Linux From Scratch 4 01-06-2004 06:19 AM


All times are GMT -5. The time now is 02:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration