On Mon, Mar 26, 2018 at 09:54:21PM +0200, f.de.kru...@gmail.com wrote:
> #!/bin/bash
>
> run () {
>echo "Running: ${*}"
>eval ${*}
If you're going to do it this way, that should be eval "$*" with the
quotes.
I strongly recommend NOT attempting this. If anything, this way would
be sli
On 3/26/18 3:54 PM, f.de.kru...@gmail.com wrote:
> run 'sed -i "6a\find /srv/cowrie/log/ -mtime +7 -name \'cowrie.*\' -delete"
> cowrietest'
Just so you understand how the quoting works here: you can't escape single
quotes with backslashes inside a single-quoted string. The \'cowrite.*\'
ends th