Code review request: 8011402: Move blacklisting certificate logic from hard code to data

John Rose john.r.rose at oracle.com
Mon Sep 16 23:56:30 UTC 2013


On Sep 11, 2013, at 6:06 AM, Weijun Wang <weijun.wang at oracle.com> wrote:

> It seems there needs a pair of " around `. Don't why. Maybe it's about the pipes?

This command
  test `cat /dev/null` != 1

expands after command substitution to a command with two arguments:
  test != 1

That gets a complaint from test.

If you add double quotes around the backquotes, then the following two commands are equivalent:
  test "`cat /dev/null`" != 1
  test "" != 1

...and they give the desired "true" result, because there are three arguments, the first of which is a null string.

— John


More information about the build-dev mailing list