Monday, May 22, 2017
To each their own (literal parse!)
It looks like I'll be playing around ballerina for a while more, its only fair I document some of my experiments for prosperity sake, especially considering there is a lack of content on the subject, but this blog is probably not the best place to do that. So if you're interested in hands on reads on Ballerina find them here: http://ballerinagist.blogspot.com/
Tuesday, May 2, 2017
Three types of quotes in the world..
If you’ve dealt with the Linux shell it’s very likely you would have come across different types of quotes. They mean different things to the shell and as such they are handled by it in different ways. Here’s a quick review.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VAR="print me!" | |
#double quotes resolve variables. | |
echo "value is $VAR" | |
#single quotes process the content literally. | |
echo 'value is $VAR' | |
#backquotes execute commands in a new shell, stdout of execution is handed back to the caller. | |
echo "cmd `date`" |
Subscribe to:
Posts (Atom)
-
Why? Similar to identifying test conditions and done as part of the test analysis activity. Better medium to convey the test scope to other ...
-
BASH[1], to my understanding is not meant to be used as a general purpose programming language and attempting to use it for such purposes ca...
-
Learning SQE is like learning to play the drums, anyone can learn to keep a beat, but very few can master the instrument. SQE is hard becaus...