SUBJC

Section: User Commands (1)
Updated: LOCAL
Index Return to Main Contents
 

NAME

subjc - Find "Subject:" line in netnews articles  

SYNOPSIS

subjc filename  

DESCRIPTION

Subjc finds "Subject:" lines in all files in a file of filenames. Finds only first match, thus saving time.  

EXAMPLE

#!/bin/sh

/usr/bin/find /usr/spool/news -type f -print >/tmp/sub1jnews

date > /tmp/subjnews

/usr/local/bin/subjc /tmp/sub1jnews | /usr/bin/sort >> /tmp/subjnews

rm -f /tmp/sub1jnews  

BUGS

A clever combination of head, fgrep, cut, join, etc., probably could do the same job in a shell script, but, what the heck, it's only fifty or so lines of C code ...  

SEE ALSO

subj(1), subjn(1)  

AUTHOR

Jim Nelson, nelson@uncw.uucp nelson@ecsvax.uncecs.edu


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
BUGS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 06:53:50 GMT, December 12, 2024