$ printf '%s\n' 'Hi, $name! Today is $day...' > something.txt
$ name=Andriy day=Friday . <(echo -e echo $( < something.txt ))
Hi, Andriy! Today is Friday...
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
| final List TestCases = [ | |
| '/usr/bin/sh', | |
| '//usr/bin/sh', | |
| 'usr//bin/sh', | |
| 'usr//bin//sh///', | |
| '//', | |
| '/', | |
| ' / ', | |
| ' // ', | |
| ' ', |
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
| package xyz.bebee.example.groovy | |
| /** | |
| * Implements bare minimum description of object | |
| */ | |
| class BaseObjectDescription implements ObjectDescription { | |
| final def object | |
| BaseObjectDescription(def object) { |
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
| #!/usr/bin/python | |
| import sys | |
| from itertools import * | |
| RED = 31 | |
| GREEN = 32 | |
| RESET_SEQ = "\033[0m" | |
| COLOR_SEQ = "\033[0;%dm" |
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
| FILE SPACING: | |
| # double space a file | |
| sed G | |
| # double space a file which already has blank lines in it. Output file | |
| # should contain no more than one blank line between lines of text. | |
| sed '/^$/d;G' |