Use "find" to search for files without extensions ?

From: thewhizkid (thewhizkid_at_rock.com)
Date: 09/25/03


Date: 24 Sep 2003 22:34:40 -0700

Is it possible to use the Unix "find" command to search a directory
recursively and print out all filenames without extensions ?
--------------
e.g.
/projdir/proj1/xyz/a.c
/projdir/proj1/def/b.h
/projdir/proj1/xyz/check
/projdir/proj2/dir1/spell.pl
/projdir/proj1/xyz/proj1.doc
/projdir/proj3/main/hello

should show only:

check
hello
--------------

Any help appreciated.

ThewhiZKID./



Relevant Pages

  • Re: delet command
    ... "thomas koch" wrote in message ... > but with this command our unix can only find files exactly from the day ... but it doesn't work if you have any filenames containing spaces. ...
    (comp.unix.aix)
  • Re: AVR compilers
    ... Can't you just put quotes around the filenames when they appear in command ... line arguments and makefiles? ... UNIX allows spaces in filenames too -- isn't this how they do it? ...
    (comp.arch.embedded)
  • Re: vi horizontal split screen
    ... Command line recall and edit, which I had on DOS, was worth the price of admission by itself. ... The script language was designed to look like C for the benefit of C programmers working on *nix, but you still needed to know Bourne syntax, because all the scripts that controlled Unix itself were in the Bourne shell language. ... Emacs is not it. ... The default Emacs keystrokes have the same basic characteristic as the default vi keystrokes and the default WordStar command set: they are keyboard independent. ...
    (comp.editors)
  • Re: Sarahs very sad...
    ... There is a core of a Unix OS in the foundations, ... It is a considerable wrench going from a GUI to a program whose interface ... Linux or Unix system without ever seeing a command line or a config file ...
    (uk.people.support.depression)
  • Re: Data conversion EBCDIC to ASCII
    ... When you enter the omvs command, you are placed into UNIX; ... Data conversion EBCDIC to ASCII ... window into a text editor on your workstation ...
    (bit.listserv.ibm-main)