![]() |
|
|
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 |
| read file and print additional rows till current year | vasuarjula | Shell Programming and Scripting | 1 | 12-09-2008 03:13 AM |
| delete strings till specific string | modcan | Shell Programming and Scripting | 1 | 11-01-2008 11:20 AM |
| How to print lines till till a pattern is matched in loop | anoopvraj | Shell Programming and Scripting | 3 | 10-30-2008 10:36 PM |
| Unix code to fetch the first field till space in a variable | autosys_nm | Shell Programming and Scripting | 3 | 08-27-2008 05:05 AM |
| Loop till you find a string in a fine <-- Need Help New to Unix Scripting | mrehman | UNIX for Dummies Questions & Answers | 1 | 01-30-2008 06:01 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
way to print all the string till we get a space and a number
Is there any way to print all the string till we get a space and a number and store it a variable
for eg we have string java.io.IOException: An existing connection was forcibly closed by the remote host 12 All I want is to store "java.io.IOException: An existing connection was forcibly closed by the remote host" in a variable and "12" in another variable. Plz give the solution with for loop, as I have lot of string like this.Plz help me on this. Note: end of the string or seperation point is "space and a number". |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|