buffering pipes

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Apr 16 18:06:20 EEST 2007


On 2007-04-16 16:08, Giorgos Keramidas <keramida at ceid.upatras.gr> wrote:
> Ένας πιο portable τρόπος για temporary filename είναι:

[ Κι επειδή παραπονιέται ο Ρικούδης για το 80-column limit: ]

--- old Mon Apr 16 18:04:42 2007
+++ new Mon Apr 16 18:05:01 2007
@@ -12,6 +12,7 @@

 TMPF=`mktemp "${TMPDIR}/buf-XXXXXX"`
 if [ $? -ne 0 ]; then
-    echo >&2 "`basename $0`: ERROR: failed to create temporary file in ${TMPDIR}"
+    echo >&2 "`basename $0`: ERROR:" \
+        "failed to create temporary file in ${TMPDIR}"
     exit 1
 fi




More information about the Linux-greek-users mailing list