EnglishFrenchSpanish

OnWorks favicon

ptargrep - Online in the Cloud

Run ptargrep in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command ptargrep that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


ptargrep - Apply pattern matching to the contents of files in a tar archive

SYNOPSIS


ptargrep [options] <pattern> <tar file> ...

Options:

--basename|-b ignore directory paths from archive
--ignore-case|-i do case-insensitive pattern matching
--list-only|-l list matching filenames rather than extracting matches
--verbose|-v write debugging message to STDERR
--help|-? detailed help message

DESCRIPTION


This utility allows you to apply pattern matching to the contents of files contained in a
tar archive. You might use this to identify all files in an archive which contain lines
matching the specified pattern and either print out the pathnames or extract the files.

The pattern will be used as a Perl regular expression (as opposed to a simple grep regex).

Multiple tar archive filenames can be specified - they will each be processed in turn.

OPTIONS


--basename (alias -b)
When matching files are extracted, ignore the directory path from the archive and
write to the current directory using the basename of the file from the archive.
Beware: if two matching files in the archive have the same basename, the second file
extracted will overwrite the first.

--ignore-case (alias -i)
Make pattern matching case-insensitive.

--list-only (alias -l)
Print the pathname of each matching file from the archive to STDOUT. Without this
option, the default behaviour is to extract each matching file.

--verbose (alias -v)
Log debugging info to STDERR.

--help (alias -?)
Display this documentation.

COPYRIGHT


Copyright 2010 Grant McLean <[email protected]>

This program is free software; you can redistribute it and/or modify it under the same
terms as Perl itself.

Use ptargrep online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

Ad