![]() |
|
|
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 |
| Unix Perl split special character $ | schultz2146 | Shell Programming and Scripting | 9 | 06-09-2009 04:01 PM |
| Remove parenthesis character (Perl) | aristegui | Shell Programming and Scripting | 4 | 10-28-2008 02:53 PM |
| how do i strip this line using perl regex. | ramky79 | Shell Programming and Scripting | 1 | 03-18-2008 12:10 PM |
| strip first 4 and last 2 lines from a file using perl | meghana | Shell Programming and Scripting | 10 | 02-01-2008 09:01 PM |
| Non-ascii character detection (perl or grep) | srinivasan_85 | UNIX for Dummies Questions & Answers | 9 | 02-20-2007 08:38 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Trying to strip some character in perl
I have some character strings and I would like to know how can I remove them using perl. My file contains the following output shown below.
An example of a string in the file: + netmck(uid=500)-root + netmck(uid=500)-root + netmck(uid=500)-root + netmck(uid=0)-root . . . I would like to remove the character string --> (uid=500) or (uid=0) using perl if possible and leaving the rest so I can continue processing. Any help would be appreciated. steve ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|