Thanks for the help. But may I bother you some more please ?
The code seems unable to handle directory names containing spaces. Is that easily fixed ?
Ex :
Traceback (most recent call last):
File "U:\test2.py", line 73, in ?
main()
File "U:\test2.py", line 58, in main
l.append(findIt(root ...
Search found 4 matches
- Fri Oct 24, 2003 11:44 am
- Forum: General
- Topic: search a string AND NOT another on the same line
- Replies: 6
- Views: 792
- Wed Oct 22, 2003 7:29 am
- Forum: General
- Topic: search a string AND NOT another on the same line
- Replies: 6
- Views: 792
wow
I'm speechless ........ This is almost exactly what I need.
Since I'm not a perl expert and since I've just seen python for the first time in my life ........ could you change the code to walk the entire tree as seen from the basedir ? There are over 500 directories in the tree, so copy-paste-adapt ...
Since I'm not a perl expert and since I've just seen python for the first time in my life ........ could you change the code to walk the entire tree as seen from the basedir ? There are over 500 directories in the tree, so copy-paste-adapt ...
- Tue Oct 21, 2003 6:19 am
- Forum: General
- Topic: search a string AND NOT another on the same line
- Replies: 6
- Views: 792
Xenu or any other link checker is not an option !
First of all, since I'm migrating from Windows to Unix I cannot check for broken links due to Case mismatches until after the move.
Second, the new structure is different from the current one and I need to make sure that is going to work properly.
Third, when using a Notes/Domino system with a large ...
Second, the new structure is different from the current one and I need to make sure that is going to work properly.
Third, when using a Notes/Domino system with a large ...
- Mon Oct 20, 2003 12:32 pm
- Forum: General
- Topic: search a string AND NOT another on the same line
- Replies: 6
- Views: 792
search a string AND NOT another on the same line
(I'm unfamiliar with the Regular Expressions and need some help.)
I need so search a tree and find all files which have lines that contain the string ".nsf" but that do NOT have the string "/boz/" preceeding the othr string on the same line.
Ideally the search should limit the not part to the ...
I need so search a tree and find all files which have lines that contain the string ".nsf" but that do NOT have the string "/boz/" preceeding the othr string on the same line.
Ideally the search should limit the not part to the ...