- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- egrep with variable on input
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2009 09:18 PM
тАО09-12-2009 09:18 PM
Re: egrep with variable on input
As JRF says, it doesn't like your naked ERE. Any reason you need to use the egrep hammer instead of grep?
echo "$TNSSTRING" | grep -q -i -e ORA-01 -e ORA-27
if [[ $? -eq 0 ]]; then
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2009 11:04 AM
тАО09-14-2009 11:04 AM
Re: egrep with variable on input
Thank you very much for you answering, I need to study all this staff.
James ! Hey ;-) look my old posts and you'll see that I put very often points. The problen during some times is that I have no time also for studying your posts (sic) and I don't want to put 10 every times or 9 or 8 or 2 without reflexion !
If all is good I hope to solve this egrep problem tomorrow and of course I'll come back here for closing thread anf submit points. I play the game every time this is possible ans it's not always easy.
See you Guys
and ... see you later
Bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2009 11:21 AM
тАО09-14-2009 11:21 AM
Re: egrep with variable on input
> James ! Hey ;-) look my old posts and you'll see that I put very often points.
I don't disagree and that wasn't my point.
> The problen during some times is that I have no time also for studying your posts (sic) and I don't want to put 10 every times or 9 or 8 or 2 without reflexion !
I'll take that remark as a compliment :-)
I agree that knee-jerk point assignment is wrong and meaningless. However, a little quid pro quo (reflection, if you will) is quite appropriate in my opinion. If you feel that a post doesn't need or deserve further analysis/commentary, then please consider marking it 'closed'. You can always reopen it at a later date!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 04:21 AM
тАО09-15-2009 04:21 AM
Re: egrep with variable on input
Have a nice day James.
Sure I'll be back here !
Bests Regards
Den
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2009 05:39 AM
тАО09-15-2009 05:39 AM
Re: egrep with variable on input
Thanks to you Guys.
- « Previous
-
- 1
- 2
- Next »