LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2017, 12:48 PM   #16
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 20,772

Rep: Reputation: 7058Reputation: 7058Reputation: 7058Reputation: 7058Reputation: 7058Reputation: 7058Reputation: 7058Reputation: 7058Reputation: 7058Reputation: 7058Reputation: 7058

Quote:
Originally Posted by sysmicuser View Post
Please assist me. It works in the following situation

AB-System-Check-ping

It does not work for the below situations

AB-System-Check-Swap-Check-01
AB-System-Check-CPU-Usage


What should I do so that I can make it work-able in all situations?
No, I'm afraid, I have to say that worked perfectly, that capitalized the last part in all cases.
Just in case of 01 nothing changed.
I would say you need to explain better what do you need *instead* of the last part.
 
Old 05-01-2017, 06:21 PM   #17
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,938

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
If you want AB-System-Check-Swap-Check-01 changing just search for and change the "Swap-Check-01" to "SWAP-CHECK-01" - or whatever.
A little simple ingenuity can save searching for clever solutions.

BTW Why is it so important to have these strings in uppercase?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "Catchable fatal error: Object of class input could not be converted to string" - php Skyer Programming 2 03-12-2012 11:04 PM
PHP "Object of class mysqli could not be converted to string " Randall Slack Programming 1 12-02-2011 10:02 AM
chmod - need help with options capital D and capital F.. cookiedough Linux - Newbie 4 04-04-2011 08:07 PM
assign converted string to variable bmaheni Linux - Newbie 2 12-28-2007 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration