4.2. Versions of sed

Linux uses the Gnu version of sed, copyrighted by the Free Software Foundation. This version is almost identical to the sed provided by standard UNIX distributions.

Example 4.1.
% sed -V
					or
					sed --version
					GNU sed version 3.02
					Copyright (C) 1998 Free Software Foundation, Inc.
					This is free software; see the source for copying conditions.
					There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
					PARTICULAR PURPOSE, to the extent permitted by law.
				

Get Linux Shells by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.