Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Regular Expressions : grab flash devices


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Regular Expressions : grab flash devices

I know its an art and it takes a little time .. but is there a better way to do this ?

Code:
(sup-)?boot(disk|flash)|flash\d*|disk\d

Quote:
bootdisk
bootflash
disk0
flash
flash0
flash1
sup-bootdisk
Thanks in advance
Pop
# 2  
You will get a better response if you provide us with more complete details or input and output and how you are calling your regex, etc.

We are really not great mind readers here.... sorry about that.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Regular Expressions
chandrababu
I am new to shell scripts.Can u please help me on this req. test_user = "Arun" if echo "test_user is a word" else echo "test_user is not a word"... Shell Programming and Scripting
1
Shell Programming and Scripting
Regular Expressions
DavidHe
what elements does " /^/ " match? I did the test which indicates that it matches single lowercase character like 'a','b' etc. and '1','2' etc. But I really confused with that. Because, "/^abc/" matches strings like "abcedf" or "abcddddee". So, what does caret ^ really mean? Any response...... Shell Programming and Scripting
2
Shell Programming and Scripting
Regular expressions
aadi_uni
In regular expressions with grep(or egrep), ^ works if we want something in starting of line..but what if we write ^^^ or ^ for pattern matching??..Hope u all r familiar with regular expressions for pattern matching..... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers
regular expressions
ramky79
I have a flat file with the following drug names Nutropin AQ 20mg PEN Cart 2ml Norditropin Cart 15mg/1.5ml I have to extract digits that are before mg i.e 20 and 15 ; how to do this using regular expressions Thanks ram... UNIX for Advanced & Expert Users
1
UNIX for Advanced & Expert Users
Need help with Regular Expressions
jidsh
Hi, In ksh, I am trying to compare folder names having -141- in it's name. e.g.: 4567-141-8098 should match this expression '*-141-*' but, -141-2354 should fail when compared with '*-141-*' simlarly, abc should fail when compared with '*-141-*' I tried multiple things but nevertheless,...... Shell Programming and Scripting
5
Shell Programming and Scripting

Featured Tech Videos