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
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 2
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 3
    Freeciv
    Freeciv
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • 4
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • 5
    LMS-YouTube
    LMS-YouTube
    Play YouTube video on LMS (porting of
    Triode's to YouTbe API v3) This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/lms-y...
    Download LMS-YouTube
  • 6
    Windows Presentation Foundation
    Windows Presentation Foundation
    Windows Presentation Foundation (WPF)
    is a UI framework for building Windows
    desktop applications. WPF supports a
    broad set of application development
    features...
    Download Windows Presentation Foundation
  • More »

Linux commands

Ad