![]() fgrep will then traverse the directories recursively and search all files (including both license.txt files in the current directory and sub-directory).This should have, as I understand it, found at least two instances- one in you will see one instance (I think) where ‘public’ is found in the license.txt file.Ħa.This does not seem to be possible with only fgrep. I want to scan only *.txt file type documents. Sorry, but it appears that I was unclear about the original anomaly. Kjg1eAM3vVRLkdSxfEgTqoICk+zGzbGF4v3iP5P5E4E4Egk9ioRvy70KKLOJkElz H1oV6JQiNHeS82aExUomGV4cvfT+phkIgsa3MriS35Uc3gPRg7cEcXDdsOzmWLFqīF/16D69CicX4FdmQ26gEOcxYpH/52DXVYWWCPZJKiBF0WRqGYn+NMm2DWjvKYYx TxMJ4AkERO5qpZFWgf8FUZIew859P9xbi/wqbHPbxzhEK6R/dsvQAmboQQN/gYUt QL1iC2iHyLqwcXlmweNo/4fy/sV644Uua8i/o0dV6DVKz9b5BYur+d9sO11YsQst PsHuldH22mNiPgZv4lhXFTd+4dHeTxqhVcWzZQb/tUPJyQL1k7ZuOAytopneTwYv GcEjWwyApyDzJjKhjHK9FZCQ4OlZ47xOxWozCemGrNJIhbCOWe59+bKbBQ0di5NL PtqeML14vAGlbDEmmIrtmkOTfUZhg2iI5i0tp20EKjY/+0dYwF3tb27WKC+wii4J U6ThFiMM8R4wN/bU811uuqwZkrxmVGcuj/gdyAoHpVVwmXCrlWsGoveYTF6+BMHy IQIcBAEBAgAGBQJMYGC/AAoJEF+XTK08PnB5hnAP/jlbovJrJnsGsBsMYpA350SdĩM+x9U28wolZ2L18k76H1slQjR64HIpg5qP5PBCqgUVR90cZ2Dpb6//0WKsrCYJL > This is on an 11.2 system, upgraded to 11.3 (ran zypper verify to > recursive does not seem to work from root directory. > I am probably missing something very basic. ![]() > fgrep: *.txt: No such file or directory > -also recurses one level and displays all kinds of data A better way to do this, imo, follows:įind / -type f -iname *.txt | xargs grep -in -C 2 ‘print’ You have any directories matching that so then recursion does not happen You are saying to match *.txt, and I doubt
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |