bug#6330: Feature request: mktemp creates named pipes (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: | Sebastien Andre |
---|---|
Subject: | bug#6330: Feature request: mktemp creates named pipes |
Date: | Wed, 2 Jun 2010 12:08:34 +0200 |
Hello guys!
When needing a temporary named pipe in shell scripts, I've often been writing the following function:
mktempfifo() { local path=$(mktemp -t) rm "$path" mkfifo -m 0600 "$path" echo "$path" }
I was wondering if anybody would be interested in having an option -p --pipe (or -f --fifo since -p is deprecated) to create temporary named pipes?
Example: $ file $(mktemp -tp) /tmp/tmp.24665457: fifo (named pipe)
PS: I can try to provide a patch if my bug is accepted
Thanks, Sebastien
- bug#6330: Feature request: mktemp creates named pipes,Sebastien Andre <=
- bug#6330: Feature request: mktemp creates named pipes, Bob Proulx, 2010/06/02
* bug#6330: Feature request: mktemp creates named pipes, Sebastien Andre, 2010/06/03 - bug#6330: Feature request: mktemp creates named pipes, Eric Blake, 2010/06/02
* bug#6330: Feature request: mktemp creates named pipes, Sebastien Andre, 2010/06/03
* bug#6330: Feature request: mktemp creates named pipes, Jim Meyering, 2010/06/05
* bug#6330: Feature request: mktemp creates named pipes, Sebastien Andre, 2010/06/08
* bug#6330: Feature request: mktemp creates named pipes, Jim Meyering, 2010/06/08
* bug#6330: Feature request: mktemp creates named pipes, Eric Blake, 2010/06/07
* bug#6330: Feature request: mktemp creates named pipes, Sebastien Andre, 2010/06/14
- bug#6330: Feature request: mktemp creates named pipes, Bob Proulx, 2010/06/02
- Prev by Date:bug#6331: [sshfs] df reports wrong disk space usage on solaris
- Next by Date:bug#6323: Enhancement request: Add wronly to Coreutils
- Previous by thread:bug#6331: [sshfs] df reports wrong disk space usage on solaris
- Next by thread:bug#6330: Feature request: mktemp creates named pipes
- Index(es):