blob: 4a6d1cd6fb5c4215c403c5df61da102403441693 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#! /bin/sh
#
# $NetBSD: mktemp,v 1.1 2002/01/31 22:43:50 tv Exp $
#
# A script that pretends to act like a stripped-down version of mktemp(1).
# This is used by lorder.sh, and possibly other script-based host tools.
# This version simply replaces the X's with mktemp's pid ($$).
fname=`echo $1 | sed 's,XX*$,'$$','`
touch $fname || exit 1
echo $fname
|