|
[Date Index]
[Thread Index]
[Author Index]
Re: touch/open on Mac
- To: mathgroup at smc.vnet.net
- Subject: [mg95951] Re: touch/open on Mac
- From: ragfield <ragfield at gmail.com>
- Date: Fri, 30 Jan 2009 05:46:55 -0500 (EST)
- References: <gls1ss$hi4$1@smc.vnet.net>
On Jan 29, 4:54 am, Frank Hu <frank1... at gmail.com> wrote:
=7F> I used to be able to create a new notebook by these two commands
>
> touch foo.nb
> open foo.nb
>
> But after upgrading to V7, foo.nb is treated as a text file and saving =
> the file will just save the textural content of the notebook and lose
> all the structures. Is there anyway to get the old behavior back,
> namely let Mathematica treat an empty file with an nb suffix as an
> empty notebook file?
Try this instead:
echo "Notebook[]" >> foo.nb
open foo.nb
-Rob
Prev by Date:
Re: parasite points with Mesh
Next by Date:
Defining assumptions globally
Previous by thread:
touch/open on Mac
Next by thread:
Re: touch/open on Mac
|