Sample Header Ad - 728x90

Unix 'find' utility : Question about relation to Kleene Star in Mathematics

-1 votes
1 answer
59 views
Does anyone know how the Unix find search -name queries with _? in leftmost column relate to Kleene Star as defined on Wikipedia ? How can I accomplish the rows with _? using find? . : empty string, X : cartesian product -name \A\B Language A X B -name \ABC Language A X B X C -name : name at leafs, builds set of string in language -name \. V^0 {e, ""} language only of the empty string A with only one leg? -name \? V^1 V language of single characters -name \???... V^n language of n character strings, concatenates strings in language -name \* V^* langauge of \cup_{i\gte0} V^i a? -name \n V^n like \{n\} in grep with integer? b? -name \*n (V^*)^n language of n words, word can be empty -name \*\??... (V^*)^n -name \?\* V^+ langauge of \cup_{i\gte1} V^i -name \?\*\??... (V^+)^n language of n words, word must have character It appears that . is a graph A with only one leg defined with length. grep uses \{n\} for a?, however I can't seem to find the equivalent with find.
Asked by notaorb (101 rep)
Jan 24, 2025, 09:16 AM
Last activity: Jan 24, 2025, 02:46 PM