Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: touch/open on Mac

  • To: mathgroup at
  • Subject: [mg95933] Re: touch/open on Mac
  • From: Bob F <deepyogurt at>
  • Date: Fri, 30 Jan 2009 05:43:38 -0500 (EST)
  • References: <gls1ss$hi4$>

On Jan 29, 3:54 am, Frank Hu <frank1... at> wrote:
> Hi, Group,
> 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?
> Thanks,
> Frank

You might also try

   touch foo.nb
   open -a /Applications/ foo.nb   (or whatever your
Mathematica is named)


  • Prev by Date: Defining assumptions globally
  • Next by Date: Re: touch/open on Mac
  • Previous by thread: Re: touch/open on Mac
  • Next by thread: Re: touch/open on Mac