🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Henrik B}kman CSD Fri, 06 Nov 1992 14:19
sed
#1043
Author: Henrik B}kman CSD
Date: Fri, 06 Nov 1992 14:19
24 lines
1177 bytes
Program: sed 1.11
OS: SunOS 4.1.2
Machine: Sun4c
C-compiler: gcc 2.2.2
----------------------------------------
Problem: When I do

		echo foo bar | sed 'y/ /\n/'

	I get

		sed: Extra characters after command

	When I run the same command with Sun's version
	of sed it changes all spaces to newlines.

	I don't know if this is a bug or a "feature".
	Maybe there is a SysV-behaviour and a BSD-behaviour?

----------------------------------------------------------------------
Henrik Bakman           Adress: Box 520          Tel: +46 18 181044
System Manager                  751 20 UPPSALA   Fax: +46 18 521270
Computing Science Dep.          SWEDEN           Email: hb@csd.uu.se
Uppsala University
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads