On removing ^M
Giorgos Keramidas
keramida at ceid.upatras.gr
Mon May 9 15:18:29 PDT 2005
On 2005-05-09 14:13, Fafa Hafiz Krantz <fteg at london.com> wrote:
> So in conclusion, does this sh script look good?
> I mean, can the first 3 commands be put like that?
>
> $ chown -R fafa:wheel *
>
> $ find . -type d -exec chmod 755 {} \;
> $ find . -type f -exec chmod 644 {} \;
Yes. That looks fine.
You may want to quote those {} characters. Some shells may interpret
them. Compare, for instance, the output of the following two commands
in tcsh:
% echo {a,b,c}
% echo '{a,b,c}'
More information about the freebsd-questions
mailing list