EnglishFrenchSpanish

OnWorks favicon

grephistory - Online in the Cloud

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

This is the command grephistory 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


grephistory - display file names from Usenet history file

SYNOPSIS


grephistory [ -f filename ] [ -e ] [ -n ] [ -q ] [ -l ] [ -t ] [ -i ] [ -s ] [ messageid ]

DESCRIPTION


Grephistory queries the dbz(3) index into the history(5) file for an article having a
specified Message-ID.

If messageid cannot be found in the database, the program prints ``Not found'' and exits
with a non-zero status. If messageid is in the database, the program prints the pathname
and exits successfully.

OPTIONS


-n If no pathname exists, the program will print ``/dev/null'' and exit successfully.
This can happen when an article has been cancelled, or if it has been expired but
its history is still retained. This is default behaviour, which can be obtained by
using the ``-n'' flag.

-q If the ``-q'' flag is used, then no message is displayed. The program will still
exit with the appropriate exit status.

-t If the ``-t'' flag is used, then only the offset into the history text file is
printed.

-e If the ``-e'' flag is used, then grephistory will only print the filename of an
existing article.

-l If the ``-l'' flag is used then the entire line from the history file will be
displayed.

-i If the ``-i'' flag is used, then grephistory will read a list of Message-ID's on
standard input, one per line. Leading and trailing whitespace is ignored, as are
any malformed lines. It will print on standard output those Message-ID's which are
not found in the history database. This flag is used in processsing ``ihave''
control messages.

-s If the ``-s'' flag is used, then grephistory will read a similar list from its
standard input. It will print on standard output a list of filenames for each
article that is still available. This flag is used in processsing ``sendme''
control messages.

-f To specify a different value for the history file and database, use the ``-f''
flag.

HISTORY


Written by Rich $alz <[email protected]> for InterNetNews. This is revision 1.7, dated
1996/11/08.

Use grephistory online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad