Date: Tue, 8 Jul 2014 02:44:36 +0200 From: Polytropon <freebsd@edvax.de> To: Warren Block <wblock@wonkity.com> Cc: freebsd-questions@freebsd.org Subject: Re: [Bulk] Re: The name "grep" Message-ID: <20140708024436.a761d669.freebsd@edvax.de> In-Reply-To: <alpine.BSF.2.11.1407071352370.87353@wonkity.com> 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> <alpine.BSF.2.11.1407071352370.87353@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140708024436.a761d669.freebsd>