![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extraction of various lines from a hugh file | srsahu75 | Shell Programming and Scripting | 5 | 05-07-2008 09:17 AM |
| Shell script for text extraction from a file | vignesh53 | Shell Programming and Scripting | 3 | 02-05-2008 08:16 AM |
| Report file extraction based on Date range | ganapati | Shell Programming and Scripting | 2 | 07-13-2006 12:26 PM |
| date-extraction from a file in KSH | homer_hn | Shell Programming and Scripting | 6 | 04-21-2006 02:51 AM |
| help on file extraction | apalex | UNIX for Dummies Questions & Answers | 1 | 05-01-2001 11:29 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi All,
I have a file of the following format. <?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="manager"/> <role rolename="admin"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="role1" password="user1" roles="role1"/> <user username="both" password="mgr" roles="tomcat,role1"/> <user username="admin" password="admin" roles="admin,manager"/> </tomcat-users> [ I need to extract the password from the file above. In the above case the passwords are tomcat,user1,mgr and admin. Can someone please help in extracting only the password from the above file. Thanks! nua7 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|