News for hackers. Stuff that matters.
Re:Foreign Linux: Run Linux binaries on Windows without driv... by Raesan on Thursday March 12, 2015 @08:35AM (#9190332)
You could also use either of these:

  (Select-String "pattern" -Path file.txt).Line > t.txt
  Select-String "Pattern" -Path file.txt | Select-Object -ExpandProperty Line > t.txt
Or equivalent to the second example but with shortcuts:

  sls pattern -path file.txt | select -exp line > t.txt

There are no comments on this comment yet.