Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in online instructions




Am 16.08.2005 um 20:27 schrieb Justin C. Walker:

On Aug 16, 2005, at 10:34 , Scott Mansfield wrote:

I'm new to darwin build and just ran through the installation steps. In doing so I encountered something a wee confusing.

At

http://opendarwin.org/projects/darwinbuild/doc/tools/ index.html#install

the line
hdiutil create -size 4g -type UDIF -fs HFSX -volname Builds \
        -uid 0 -gid 0 -attach Builds.dmg

[snip]

It's not a bug, nor is it a feature. The backslash is a common documentation trick when a line is too long and needs a visual break; It indicates "type all this in."

It's actually more than a documentation trick. It's a common shell "escape", and means "treat the next line as part of this line when evaluating the command".

One possible reason why it failed for the original poster is, any trailing character, even a trailing space makes this machanism fail. Trailing spaces are quite common if you copy&paste from HTML documents.



heck, yet another $0.02 :-)


Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Error in online instructions (From: Will Hickie <email@hidden>)
 >Re: Error in online instructions (From: Scott Mansfield <email@hidden>)
 >Re: Error in online instructions (From: "Justin C. Walker" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.