From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 00:44:40 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24059E9 for ; Tue, 8 Jul 2014 00:44:40 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6EC5235A for ; Tue, 8 Jul 2014 00:44:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-69-249.dynamic.qsc.de [92.195.69.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id A14223CBDE; Tue, 8 Jul 2014 02:44:37 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s680iaXU002068; Tue, 8 Jul 2014 02:44:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 8 Jul 2014 02:44:36 +0200 From: Polytropon To: Warren Block Subject: Re: [Bulk] Re: The name "grep" Message-Id: <20140708024436.a761d669.freebsd@edvax.de> In-Reply-To: References: <20140707075443.d47ca06a.freebsd@edvax.de> <53BA4F77.60907@qeng-ho.org> <20140707104403.5a0694ff.freebsd@edvax.de> <53BA71A7.9040208@qeng-ho.org> <1404728392.19389.1.camel@archlinux> <53BA9EC0.9000201@qeng-ho.org> <20140707160528.7ecf9855.freebsd@edvax.de> <1404750481.19389.12.camel@archlinux> <53BAD236.3060501@qeng-ho.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2014 00:44:40 -0000 On Mon, 7 Jul 2014 13:56:32 -0600 (MDT), Warren Block wrote: > There's an ongoing thread in the forums about csh completions. dd is > one of them: > > complete dd 'c/if=/f/' 'c/of=/f/' \ > 'c/conv=*,/(ascii block ebcdic lcase pareven noerror notrunc osync sparse swab sync unblock)/,' \ > 'c/conv=/(ascii block ebcdic lcase pareven noerror notrunc osync sparse swab sync unblock)/,' \ > 'p/*/(bs cbs count files fillcahr ibs if iseek obs of oseek seek skip conv)/=' Thanks, this is really helpful - I made it available system-wide in /etc/csh.cshrc's "if ($?prompt) then ... endif" block. It makes using the C shell (as a dialog shell) a better experience and still surprises me that csh is "that powerful". > There is no reason a wrapper script could not be written for dd. It's > probably about twenty years too late to popularize a different format, > though. You could also advocate a rewrite of the job processing subsystem for the growing amout of IBM mainframes, but hardly anyone would listen. And the world would stop revolving. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...