You could use mktemp -d to make a directory, then mkfifo within that directory.
Or you could use mktemp to make a tempfile, capture the returned file name, unlink it, then mkfifo using that name. On Apr 15, 6:13 pm, Robert Citek <[email protected]> wrote: > How does one create a uniquely named pipe? > > mktemp creates a uniquely named file or directory (-d). mkfifo > creates a named pipe. But I haven't found anything that creates a > uniquely named pipe. > > The best workaround I could think of is to create a uniquely named > directory and then create a named pipe in that. Other solutions? > > Regards, > - Robert > > -- > Central West End Linux Users Group (via Google Groups) > Main page:http://www.cwelug.org > To post: [email protected] > To subscribe: [email protected] > To unsubscribe: [email protected] > More options:http://groups.google.com/group/cwelug -- Central West End Linux Users Group (via Google Groups) Main page: http://www.cwelug.org To post: [email protected] To subscribe: [email protected] To unsubscribe: [email protected] More options: http://groups.google.com/group/cwelug
