Author: Stan Eisenstat
Subject: Re: [Cs323] -exec edge case
Date: Sunday, 06 Sep 2020, 09:08:20
> Message Posted By: Unknown
>
> When reading the command line arguments (argv) until the ";" in -exec,
> is it possible for the command to be:
>
> -exec echo foo > bar\;
>
> where there is no space between "bar" and ";".
>
> Or, is it always like "-exec echo foo > bar \;", where there is always a
> space between the end of the system call (i.e. "bar") and ";"?
>
> Or can it be either?
The \; must be a separate argument as you can verify by
running /bin/find or Hwk1/fiend.
--Stan-
PREV
INDEX
NEXT