Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2013 07:51:19 -0500
From:      "Mark Felder" <feld@feld.me>
To:        Quartz <quartz@sneakertech.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: OT: posix sh problem
Message-ID:  <op.wu0ontam34t2sn@tech304.office.supranet.net>
In-Reply-To: <515D764D.1040604@sneakertech.com>
References:  <op.wu0nsgsf34t2sn@tech304.office.supranet.net> <515D764D.1040604@sneakertech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 04 Apr 2013 07:47:09 -0500, Quartz <quartz@sneakertech.com> wrote:

>> I'd really like to
>> have this working cleanly on FreeBSD without requiring any funky shells
>
> Define "funky shell". Does it have to be straight up plain sh? Can it  
> use csh or tcsh syntax? Does bash count as 'funky'?
>

Any shells not in the FreeBSD base system, basically. I don't want this  
script to stop working because someone somehow broke bash or zsh and  
nobody noticed because nobody ever uses it.

>
>> or using any temporary files.
>
> Do you mean "manually created temp files"? because some of the different  
> ways of doing process substitution and redirection will automatically  
> create temp files for you in the background and fail on an unwritable  
> filesystem.
>

Yes, I mean manually created temp files. It looks pretty ugly to >  
/tmp/foo and read from it a line later :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wu0ontam34t2sn>