From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9c6fb52b5257fc8333b5722123939d01@collyer.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] sam -d reading from stdin? From: Geoff Collyer In-Reply-To: <7fe6ba52bb6362ece115dcddac6eab0b@mteege.de> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sat, 31 Jan 2004 16:18:21 -0800 Topicbox-Message-UUID: c9a9319a-eacc-11e9-9e20-41e7f4b1d025 This is how I use sam -d in a pipeline, taken from an existing shell script: tcs -f msdos <$file |[3=1] sam -d /fd/3 <<'!' >[2]/dev/null ,x/ +$/ d ,x/ +/ x/ / c/\n/ w /fd/1 !