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 hidden or 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)
-
whats covered: creating API prototypes using mediation policies for APIM 1.10.0 WSO2 API Manager comes with API prototyping capability OO...
-
whats covered: creating a custom mediator to invoke shell scripts for ESB 4.8.1. 1) Create a Mediator Project Generate a medi...
-
WSO2 is in the process of improving its CI/CD pipeline in preparation for a bunch of new products(btw did you hear about our exciting new in...