Forrest logo
back to context overview

pt

List of commands for pt:

  • pt:tldr:06a92 pt: Find "foo" in files with a given extension using a regular expression.
    $ pt -G='${\-bar$}' ${foo}
    try on your machine
    explain this command
  • pt:tldr:830bf pt: Find files whose contents match the regular expression, up to 2 directories deep.
    $ pt --depth=${2} -e '${^ba[rz]*$}'
    try on your machine
    explain this command
  • pt:tldr:b2113 pt: Find files containing "foo" and print the files with highlighted matches.
    $ pt ${foo}
    try on your machine
    explain this command
  • pt:tldr:cb26c pt: Find files containing "foo" and display count of matches in each file.
    $ pt -c ${foo}
    try on your machine
    explain this command
  • pt:tldr:e885b pt: Find files containing "foo" as a whole word and ignore its case.
    $ pt -wi ${foo}
    try on your machine
    explain this command
back to context overview