Timeline for Bash not equal string comparison
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 5, 2016 at 1:27 | history | edited | Jeff Schaller♦ | CC BY-SA 3.0 |
added 2 characters in body
|
| Oct 9, 2014 at 14:29 | comment | added | cokedude | @Archemar I want to remove the Semaphore. I added more comments. | |
| Oct 9, 2014 at 14:25 | answer | added | slm♦ | timeline score: 1 | |
| Oct 9, 2014 at 14:24 | history | edited | cokedude | CC BY-SA 3.0 |
Explaining what I'm trying to do better.
|
| Oct 9, 2014 at 14:19 | comment | added | slm♦ |
You're looking for a match of "...Semaphore..." to "Sempaphore". You need to make the string you're looking for a glob as well. With that check you're essentially saying while [[ 1 ]].
|
|
| Oct 9, 2014 at 14:08 | history | edited | cokedude | CC BY-SA 3.0 |
added 839 characters in body
|
| Oct 9, 2014 at 13:56 | comment | added | Archemar |
which OS are you using ? From you sample, I suspect Semaphore is the first field, not the second. You sould also use ipcs -s to check only for Semaphore.
|
|
| Oct 9, 2014 at 13:55 | comment | added | geedoubleya |
Instead of "Semaphore", you could use *Semaphore* without the quotes ("").
|
|
| Oct 9, 2014 at 13:53 | answer | added | John WH Smith | timeline score: 4 | |
| S Oct 9, 2014 at 13:48 | history | edited | Mat | CC BY-SA 3.0 |
fixed code formatting.
|
| S Oct 9, 2014 at 13:48 | history | suggested | DisplayName | CC BY-SA 3.0 |
fixed code formatting.
|
| Oct 9, 2014 at 13:47 | review | Suggested edits | |||
| S Oct 9, 2014 at 13:48 | |||||
| Oct 9, 2014 at 13:45 | history | asked | cokedude | CC BY-SA 3.0 |