From owner-freebsd-questions@freebsd.org Mon Apr 1 10:28:14 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA86F155AD9D for ; Mon, 1 Apr 2019 10:28:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D25098FBD3 for ; Mon, 1 Apr 2019 10:28:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.193.229.77]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MtO06-1gwx0S3fTy-00uqTS; Mon, 01 Apr 2019 12:22:46 +0200 Date: Mon, 1 Apr 2019 12:22:46 +0200 From: Polytropon To: Lowell Gilbert Cc: freebsd-questions@freebsd.org Subject: Re: eee-dee anyone? Message-Id: <20190401122246.89061c15.freebsd@edvax.de> In-Reply-To: <441s2o9zrr.fsf@be-well.ilk.org> References: <23e162e23288d9a2e498df5f40488bb8@kathe.in> <44muld9su4.fsf@be-well.ilk.org> <20190330035113.65fc995f.freebsd@edvax.de> <441s2o9zrr.fsf@be-well.ilk.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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:/GDumHQyV2+CRI6LMCp4JxUP8TcZNi9vCCEIO0BoNThMhYbvXJ6 90hyb3oYWb3uszZc9iYhdh8MNEOObQHpajZi+G/xnqIAceJMMmdbOg1slIu5MMkvSsGoGaR xH6ORAmavWESQq80B89JIIusqEZXid8CNg8kYxxvNBCJqnCgjoo9c3SCwqGyumUqqSNmp/g 6zzRgz4awtQ6Kvs7Rq/yA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:cM9TgjCJyKQ=:tfeiQkkhDwl2/Z7vjhoe8s NbvTdn4KgDXBy9X04nzixYoT+Wxibfak1ff4kg9VFje5l6Gb6O5/WEKsqQNVBfRqA9hB9toj7 hKJjnF6ZKrZtBrybnKLa8YcW4soK0drJdaoxX1JyywD4Sj6941jfwwTjMbM7bPvhtaaC9RsmB JBikZXovufAydnuhdJ/rbnNE/tx+l58FzDWubfm0LihhxAhCszaXk2o2a59LCkyZrwM80hxin qqjPjh9Eg6bubrnYBhn6IESABGLGGE4CaPcWfaiaX3mcTvBWEB4M1KVZnrcK4YPjeMvIZw2IG Tp9GH007LPm7jm4FIpxK2jVrU+fKPPoW+tS9mJRbU9n246RFl6NqBJp9rAZG1UdbRrfed7Zxg t5f5m9X6OQgJctNPH8v2GU1MeA21Brq9duHdM42ovx4OBdjqOg+T9gtKk1lu6DHdUJonbxE/U 1eswkLxaOhcLTkbmVaHm7ps/LPxrN4yG7Bc5Lg8r0/u62UKOIVNqm1N/rEg0l5onnTYpK+KUv KmMfwN8FVeYNr6zMNwpKji3bw9duk3rp/tbWH6GcZgHASSSy4PbHvrFe3nSHUrLaSvNxVgn/A 83NMCkVYar7wKSbsIYVvTS0IqtZ9G0MbDZWLcMjc3hh+dNzQDla/h/KLHoNyJHes16LN/K/oJ REoSYjWze+p4EREQX7v/uMSILSXRPljjzL0mt10wCOW/LQFTgC+hDQ6HreCAEOLSIf/TnUlje +fMgm4EuS4osllGa5o94cihvtu6hVuTDtE/sRC/6lCveClpP2tIHzhAD3SI= X-Rspamd-Queue-Id: D25098FBD3 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [6.09 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[cached: mx01.schlund.de]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[77.229.193.92.zen.spamhaus.org : 127.0.0.10]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.76)[0.756,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.80)[0.799,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.996,0]; RCVD_IN_DNSWL_NONE(0.00)[135.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[135.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.15)[ip: (0.49), ipnet: 212.227.0.0/16(-1.30), asn: 8560(1.58), country: DE(-0.01)] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2019 10:28:14 -0000 On Sat, 30 Mar 2019 10:56:40 -0400, Lowell Gilbert wrote: > Polytropon writes: >=20 > > I think you're confusing vi and ex here (which are the same > > executable), but ed is something different (a different program). > > But I think the reason for this confusion is that using ed > > feels like using vi's ex mode or the ex standalone program. :-) >=20 > Yes, definitely. >=20 > Because it's described by POSIX, ed(1) is with us to stay. Because it > has non-trivial differences between POSIX and BSD versions (which have > bitten me in the past), I use sed(1) regardless of whether ed would have > done the job. I suspect that is a common pattern. I think the aspect of POSIX-compliance is one of the main reasons that so many "old-fashioned" programs still exist in default installs of many UNIXes. UNIX books which cover UNIX in general, instead of concentrating on one specific Linux version, still often cover those "legacy tools". Yes, I just checked two: Wolfinger, Christine: Keine Angst vor UNIX. Ein Lehrbuch f=FCr Einsteiger. 5. Auflage. VDI-Verlag. D=FCsseldorf. 1991. ("Don't be afraid of UNIX - a textbook for first-time users") Gulbins, J=FCrgen & Obermayr, Karl: AIX UNIX. System V.4. Begriffe, Konzept= e, Kommandos. Springer-Verlag. Berlin, Heidelberg, New York. 1996. Sidenote: They also cover sh, csh, and ksh. And for further educational purposes, allow me to repeat that ed is the "termonology originator" of the grep command binary: g/re/p; g =3D global action, /re/ =3D regular expression, p =3D print; for every line matching /re/, perform the action "print the line". This is what grep does. Because it is what ed does. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...