+2008-12-15 Corinna Vinschen <corinna@vinschen.de>
+
+ * gcc.sgml: Use 'bash$' as Cygwin prompt throughout.
+ * gdb.sgml: Ditto.
+ * pathnames.sgml: Ditto. Fix the @ expansion example.
+
2008-12-13 Christopher Faylor <me+cygwin@cgf.cx>
* pathnames.sgml: Convert some backslashes to slashes.
<example id="gcc-hello-world">
<title>Building Hello World with GCC</title>
<screen>
-<prompt>C:\></prompt> <userinput>gcc hello.c -o hello.exe</userinput>
-<prompt>C:\></prompt> <userinput>hello.exe</userinput>
+<prompt>bash$</prompt> <userinput>gcc hello.c -o hello.exe</userinput>
+<prompt>bash$</prompt> <userinput>hello.exe</userinput>
Hello, World
-<prompt>C:\></prompt>
+<prompt>bash$</prompt>
</screen>
</example>
<example id="gdb-g"><title>Compiling with -g</title>
<screen>
-<prompt>$</prompt> gcc -g -O2 -c myapp.c
-<prompt>$</prompt> gcc -g myapp.c -o myapp
+<prompt>bash$</prompt> gcc -g -O2 -c myapp.c
+<prompt>bash$</prompt> gcc -g myapp.c -o myapp
</screen>
</example>
<example id="gdb-cliargs"><title>Debugging with command line arguments</title>
<screen>
-<prompt>$</prompt> myprog -t foo --queue 47
+<prompt>bash$</prompt> myprog -t foo --queue 47
-<prompt>$</prompt> gdb myprog
+<prompt>bash$</prompt> gdb myprog
<prompt>(gdb)</prompt> run -t foo --queue 47
</screen>
</example>
<example id="pathnames-mount-ex">
<title>Displaying the current set of mount points</title>
<screen>
-<prompt>bash-3.2$</prompt> <userinput>mount</userinput>
+<prompt>bash$</prompt> <userinput>mount</userinput>
f:/cygwin/bin on /usr/bin type system (binmode)
f:/cygwin/lib on /usr/lib type system (binmode)
f:/cygwin on / type system (binmode)
<filename>filename.exe</filename>. The two files can be distinguished
by examining their inodes, as demonstrated below.
<screen>
-<prompt>C:/></prompt> <userinput>ls * </userinput>
+<prompt>bash$</prompt> <userinput>ls * </userinput>
a a.exe b.exe
-<prompt>C:/></prompt> <userinput>ls -i a a.exe</userinput>
+<prompt>bash$</prompt> <userinput>ls -i a a.exe</userinput>
445885548 a 435996602 a.exe
-<prompt>C:/></prompt> <userinput>ls -i b b.exe</userinput>
+<prompt>bash$</prompt> <userinput>ls -i b b.exe</userinput>
432961010 b 432961010 b.exe
</screen>
If a shell script <filename>myprog</filename> and a program
<prompt>bash$</prompt> <userinput>echo 'This is "a long" line' > mylist</userinput>
<prompt>bash$</prompt> <userinput>echo @mylist</userinput>
@mylist
+<prompt>bash$</prompt> <userinput>cmd</userinput>
<prompt>c:\></prompt> <userinput>c:\cygwin\bin\echo @mylist</userinput>
This is a long line
</screen>