9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] sed oddity
@ 2009-08-18 14:41 hugo rivera
  2009-08-18 14:55 ` Uriel
  2009-08-18 15:38 ` erik quanstrom
  0 siblings, 2 replies; 7+ messages in thread
From: hugo rivera @ 2009-08-18 14:41 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hi,
is there some reason why sed doesn't check for write errors on its
stdout? (or at least it doesn't report them)
I am implementing a fs, and I wasted my whole afternoon trying to figure out why
sed 300q file > mnt/data
doesn't say anything about the write error I was expecting.
Note that
sed 300q file | cat > mnt/data
shows my error message ;-)
Am I missing something?
Saludos

--
Hugo



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-08-19 10:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-18 14:41 [9fans] sed oddity hugo rivera
2009-08-18 14:55 ` Uriel
2009-08-18 15:25   ` Gorka Guardiola
2009-08-18 16:00   ` roger peppe
2009-08-19 10:35     ` Uriel
2009-08-18 15:38 ` erik quanstrom
2009-08-19  7:47   ` hugo rivera

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).