$ echo foo /bar foo /bar $ !:h echo foo foo
reply
This is what the author meant:
$ echo foo/bar foo/bar $ !:h echo foo foo
reply