Rich Shepard wrote:
> On Mon, 2 Nov 2009, Michael Ewan wrote:
> 
>> Most folks learn the syntax AFTER doing 'rm -fr .*' trying to remove dot
>> files.  They also end up removing the parent directory (..). I hope that
>> wasn't your experience.
> 
> Michael,
> 
>    No, it wasn't. I noticed that I was not including the dot files in the
> tarball, and my Google searches didn't help. Galen looked in his UNIX
> reference book and sent me the proper syntax. I don't have that book and the
> ones I do have don't include this gem.

That book would be Unix Power Tools.  The suggested expression for 
matching all dot files under Bourne-like shells is '.?? .[!.]'   An 
alternative is '.?? .[^.]'  Note that some ancient shells may not 
support this syntax.

-- 
Galen Seitz
[email protected]
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to