Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 23:47:00 -0800
From:      "Remington" <madriax@garlic.com>
To:        "'Ruben de Groot'" <ruben@1729.net>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Named Pipes?
Message-ID:  <000001c1b462$a6d0c8e0$82038bd8@blah>
In-Reply-To: <008101c1b459$257e2e80$0801a8c0@lan.1729.net>

next in thread | previous in thread | raw e-mail | index | archive | help
OK I tried mkfifo -m LOG and my /root directory. It created it find but
when I edit it on vi it wont save the changes("Warning: LOG is not a
regular file; LOG: unmodified, UNLOCKED: line 1") how would I go around
thins?

-----Original Message-----
From: Ruben de Groot [mailto:ruben@1729.net] 
Sent: Tuesday, February 12, 2002 10:39 PM
To: Remington; freebsd-questions@FreeBSD.ORG
Subject: Re: Named Pipes?

Try mkfifo(1)

----- Original Message ----- 
From: "Remington" <madriax@garlic.com>
To: <freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, February 13, 2002 5:33 AM
Subject: Named Pipes?


> Im reading a book on shell scripting. I came acroos something on named
> pipes. "you can create special devise devices called named pipes...
> Named pipe is a permanent pipe device that exists until it is
remived...
> named pipes can accept imput from any connamds that write to them. And
> then it goes on telling me on how to creat one by using mknod
> #mknod LOG p
> This doesn't work. Essentialy I want to create one and put in the
> following:
> #log < LOG
> while TRUE
> do
>    read line
>    echo `date+'%H$M%S'` $line ?? /usr/local/logfile
> done > LOG
> 
> How would I accomplish creating a nemed pipe?
> 
> Windows, not worth the CD its burned on.
> -Remington
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c1b462$a6d0c8e0$82038bd8>