wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes Get the remaining part of a line of text in BASH Shell Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Get the remaining part of a line of text in BASH Shell" Watch "Get the remaining part of a line of text in BASH Shell" New topic
Author

Get the remaining part of a line of text in BASH Shell

Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

Consider the following text,

XML Message after final transformation

Please let me know in Unix, the Bash shell expression/script (without using sed/awk/etc...) that will return the following when the word after is passed as paramter.

final transformation

One restriction being, delimiter (space) should not be considered.


S.D. MADHAN
Not many get the right opportunity !
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

We try not to answer homework questions on this site.

Perhaps you can demonstrate what you have already done, and we can provide help?


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Get the remaining part of a line of text in BASH Shell
 
Similar Threads
Exception:[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch...
No of allowed connections
Dashed underline Font problem
Passed SCDJWS 1.4 today!
how to write color text in text file