Conversation

Notices

  1. grep -L pattern * # Show a list of files in the current directory that DO NOT have the expression 'pattern' in it.

    Tuesday, 14-Aug-12 18:50:34 UTC from identi.ca
    1. @climagic Using zsh's advanced globbing I can do that from a ls command instead and get more useful information than just file names.

      Tuesday, 14-Aug-12 18:53:50 UTC from web
      1. @toksyuryel I believe zsh globbing only selects file names based on a pattern, not the contents of the files?

        Wednesday, 15-Aug-12 06:51:07 UTC from identi.ca at 34°55'43"S 138°35'55"E
        1. @ericsfraga I appear to have misread what the command I was replying to was meant to do. However, now that I actually try the command I was replying to, it doesn't actually work at all.

          Wednesday, 15-Aug-12 06:57:00 UTC from web
          1. @toksyuryel @ericsfraga Never mind, it only doesn't work because I set grep to noglob by default. #

            Wednesday, 15-Aug-12 07:00:47 UTC from web