Article View: news.software.nntp
Article #16622Re: Duplicate articles with INN (bug?)
From: Kjetil Torgrim Homme
Date: Wed, 02 Apr 1997 00:00
Date: Wed, 02 Apr 1997 00:00
18 lines
981 bytes
981 bytes
[Dave Barr]
| > bash$ expand history | cut -d" " -f1 | sort | uniq -c
|
| Save a process:
|
| awk -F' ' '{ print $1 }' <history | sort | uniq -c
| ^--tab
Well, the default delimiter in cut is in fact TAB, so
cut -f1 history | sort | uniq -dc > /tmp/dups
should do the trick.
Kjetil T.
Technical Details
Message-ID:
<1rohby9niy.fsf@mne.ifi.uio.no>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5heo2g$eol$1@sun579.rz.ruhr-uni-bochum.de> <5hh1f6$64k$1@sun579.rz.ruhr-uni-bochum.de> <5hou6i$6mi@augusta.math.psu.edu>Show Full Headers
Complete Article Headers
Message-ID: <1rohby9niy.fsf@mne.ifi.uio.no> Subject: Re: Duplicate articles with INN (bug?) Date: Wed, 02 Apr 1997 00:00:00 +0000 From: Kjetil Torgrim Homme <kjetilho@mne.ifi.uio.no> References: <5heo2g$eol$1@sun579.rz.ruhr-uni-bochum.de> <5hh1f6$64k$1@sun579.rz.ruhr-uni-bochum.de> <5hou6i$6mi@augusta.math.psu.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 230010895 Organization: Folker�rsla mot mwm Newsgroups: news.software.nntp