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".
For example:
$ ls -l \
> /tmp/
total 3560
-rw-r--r-- 1 justin wheel 1511 Aug 14 17:15 files
-rwxr-xr-x 1 justin wheel 280 Aug 14 17:23 foo
-rw-r--r-- 1 justin wheel 474 Aug 13 10:29 foo.cc
-rwxr-xr-x 1 justin wheel 201452 Aug 16 09:46 gmp1
-rw-r--r-- 1 justin wheel 764 Aug 16 09:44 gmp1.c
-rw-r--r-- 1 justin wheel 662 Aug 16 09:44 gmp2.c
drwxrwxrwx 3 root wheel 102 Aug 14 17:20 printers
$
Note the "> " on the line after the "\"; this is the "secondary"
shell prompt, indicating that the shell is waiting for the rest of
the line.
Regards,
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for General Semantics
-----------
My wife 'n kids 'n dog are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------
_______________________________________________
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