🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #4256

Re: Is there a "cut" command available for the NeXT ???

#4256
From: Kristian Koehntopp
Date: Fri, 11 Dec 1992 14:27
36 lines
2248 bytes
In <28333@oasys.dt.navy.mil> curt@oasys.dt.navy.mil (Curt Welch) writes:
>I think "copy" might be what you are looking for.

He isn't looking for copy. There is a "cut" command in System V
UNIX with the following semantics:

black> mahaki man cut | col -bf | uniq

	  CUT(1)	       INTERACTIVE UNIX	System		     CUT(1)

	  NAME
	       cut - cut out selected fields of	each line of a file

	  SYNOPSIS
	       cut -clist [file	...]
	       cut -flist [-dchar] [-s]	[file ...]

	  DESCRIPTION
	       Use cut to cut out columns from a table or fields from each
	       line of a file; in data base parlance, it implements the
	       projection of a relation.  The fields as	specified by list
	       can be fixed length, i.e., character positions as on a
	       punched card (-c	option), or the	length can vary	from line
	       to line and be marked with a field delimiter character like
	       tab (-f option).	 cut can be used as a filter; if no files
	       are given, the standard input is	used.  In addition, a file
	       name of ``-'' explicitly	refers to standard input.
[ ... ]
black>

Kristian
-- 
Kristian Koehntopp, Harmsstrasse 98, 2300 Kiel, +49 431 676689
"Convection Machine is a trademark of Thoughtless Machines, Inc., a joint-
 venture of Hot-Air Associates and Air Heads International using vaporware
 from the Neural Network Corporation." -- RFC1217
Technical Details
Message-ID: <1992Dec11.142738.11686@black.toppoint.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!wupost!usc!enterpoop.mit.edu!ira.uka.de!math.fu-berlin.de!fub!tpki.toppoint.de!black.toppoint.de!kris
References: <1992Dec9.030102.5535@leland.Stanford.EDU> <28333@oasys.dt.navy.mil>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!uwm.edu!wupost!usc!enterpoop.mit.edu!ira.uka.de!math.fu-berlin.de!fub!tpki.toppoint.de!black.toppoint.de!kris
From: kris@black.toppoint.de (Kristian Koehntopp)
Subject: Re: Is there a "cut" command available for the NeXT ???
Message-ID: <1992Dec11.142738.11686@black.toppoint.de>
X-Excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN.
Organization: Toppoint Mailbox e.V.
References: <1992Dec9.030102.5535@leland.Stanford.EDU> <28333@oasys.dt.navy.mil>
Date: Fri, 11 Dec 1992 14:27:38 GMT
X-Copyright: (C) Copyright 1992 Kristian Koehntopp -- All rights reserved.
   Reproduktion, auch auszugsweise, ausserhalb elektronischer,
   nichtkommerzieller Datennetze nur mit ausdruecklichem,
   schriftlichem Einverstaendnis des Autors.
Lines: 36