[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: React to File changes
* William C. Allen <allenwc@home.com> [010213 11:56]:
> $cat temp > some_file
> gives me the expected result
>
> however, if I try . . .
> $ cat temp | some_file
> sh: some_file: cannot execute - Permission denied
> $ls -l some_file
> prwxr-xr-x 1 allenwc 1000 0 Feb 13 10:54 some_file
One does not really want to execute a named pipe. Your shell tries to
execute 'some_file' when you pipe output from another program through
it. Use the > form. :)
--
Earthlink: The #1 provider of unsolicited bulk email to the Internet.