This question already has an answer here:
- bash regex with quotes? 4 answers
I attempted to do a bash regex with an inline string, like
if [[ $var =~ "...abc..." ]] but the dot operator doesn’t seem to work? It does work as expected if I assign it as a variable first, here’s an example:
regex="...abc..." var="123abc123" if [[ "$var" =~ $regex ]] then echo "matches when used as var" # it gets here else echo "doesn't match!" fi if [[ "$var" =~ "$regex" ]] then echo "matches" else echo "doesn't match when used as string?" # it gets here fi
Same result if I use
It appears to only match the “period character” not the regex style match any char style…
First tip: use a “squatta potty” style.
These style of bathrooms are popular in asia. And instead of a toilet it’s just a hole in the ground (that still flushes) and you squat over it.
Doing something similar in the US: “squat” over the top of your toilet, with your feet on the top. You’ll have to clean off the footprints when you’re done, and you may need to experiment with holding onto something “in front” or “to the side” or “behind” you but, it seemed to help a lot to allow that crap to come out!
For me it meant “you need to stop getting such crappy sleep, where you wake up with a headache and still feel tired” (then they seemed to go away, seemed related or causal to me).
originally from https://superuser.com/questions/98720/is-there-a-free-or-open-source-equivalent-to-vac
Is there a free or open-source equivalent to Virtual Audio Cable for Windows?
I want to install a virtual sound card on Windows XP so I can stream the sound of a monitoring software on an ESX virtual machine which doesn’t have a sound card.
deleted by Sathya? Jul 4 ’14 at 10:20
closed as off-topic by Kevin Panko, Tog, random? Feb 25 ’14 at 1:54
This question appears to be off-topic. The users who voted to close gave this specific reason:
- “Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you’re trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question.” – Kevin Panko, Tog, random
Thank you for contacting MINT customer Care. My name is Ryan and i will be assisting you today.
MintSIM does not technically support tethering. However, on some android devices customers can use the tethering feature. For iPhones, use Bluetooth tethering, connect one device at a time.
Hunk #6 succeeded at 1994 with fuzz 2 (offset -10 lines).
Hunk #7 succeeded at 2167 (offset 61 lines).
Hunk #8 succeeded at 2250 (offset 61 lines).
patching file sshd_config
Hunk #1 succeeded at 116 (offset 6 lines).
patching file version.h
Error: Failure while executing: patch -g 0 -f -p1 -i /private/tmp/openssh-gssapi-hpn–patch-20180406-71592-9fq7zy/openssh-7_6_P1-hpn-KitchenSink-14.14.diff
meant “can’t apply both keychain and HPN patches…easily anyway” 😐
nice: cannot set niceness: Permission denied
cd . && /bin/bash /home/rdp/ffmpeg-windows-build-helpers/sandbox/win32/mfx_dispatch_git/missing automake-1.15 –foreign
configure.ac:48: error: required file ‘./compile’ not found
configure.ac:48: ‘automake –add-missing’ can install ‘compile’
Makefile:480: recipe for target ‘Makefile.in’ failed
make: *** [Makefile.in] Error 1
meant “nuke that mfx_dispatch_git folder and start over” (then it worked…hrm…)
syntax error at or near “’”
LINE 1: …d where x between ‘2018-01-01’ and ‘201…
meant “you are using funky UTF-8 backticks, replace those with normal apostrophes”
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application org.eclipse.mat.api.parse /mnt/share/packrd/java_pid3350.hprof org.eclipse.mat.api:suspectsf
Command-line arguments: -os linux -ws gtk -arch x86_64 -consolelog -application org.eclipse.mat.api.parse /mnt/share/packrd/java_pid3350.hprof org.eclipse.mat.api:suspectsf
!ENTRY org.eclipse.ui 4 0 2018-03-30 19:12:13.641
!MESSAGE FrameworkEvent ERROR
java.lang.IllegalStateException: BundleContext is no longer valid
meant “I spelled api:suspectsf wrong” (see that f)
Caused by: org.hsqldb.HsqlException: unexpected token: GROUP
at org.hsqldb.error.Error.parseError(Unknown Source)
at org.hsqldb.ParserBase.unexpectedToken(Unknown Source)
at org.hsqldb.ParserDQL.XreadSimpleValueExpressionPrimary(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesValueExpressionPrimary(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesPrimary(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesFactor(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesTerm(Unknown Source)
at org.hsqldb.ParserDQL.XreadAllTypesCommonValueExpression(Unknown Source)
at org.hsqldb.ParserDQL.XreadValueExpression(Unknown Source)
at org.hsqldb.ParserDQL.XreadOrderBy(Unknown Source)
at org.hsqldb.ParserDQL.XreadOrderByExpression(Unknown Source)
at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
at org.hsqldb.ParserCommand.compilePart(Unknown Source)
at org.hsqldb.ParserCommand.compileStatement(Unknown Source)
at org.hsqldb.Session.compileStatement(Unknown Source)
at org.hsqldb.StatementManager.compile(Unknown Source)
at org.hsqldb.Session.execute(Unknown Source)
… 38 more
meant “don’t use order by group” (can’t name it group since that’s an sql reserved keyword) rename it to “group_name” “order by group_name”