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.


#!/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`"
view raw quotes.sh hosted with ❤ by GitHub

What's in my Bag? EDC of a Tester