in reply to how to use perl variable in system command to run on unix
$grep_date won't interpolate in the singly-quoting q() construct. When you change to a double-quoting construct, be sure to escape the dollar sign in awk's $9 argument.
Improve your skills with Modern Perl: the free book.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to use perl variable in system command to run on unix
by tousifp (Novice) on Sep 03, 2013 at 16:47 UTC | |
by Arunbear (Prior) on Sep 03, 2013 at 16:58 UTC | |
by tousifp (Novice) on Sep 03, 2013 at 17:28 UTC | |
by Laurent_R (Canon) on Sep 03, 2013 at 17:53 UTC | |
by tousifp (Novice) on Sep 04, 2013 at 11:57 UTC | |
by Arunbear (Prior) on Sep 04, 2013 at 09:50 UTC | |
by tousifp (Novice) on Sep 04, 2013 at 11:59 UTC |