diff --git a/bin/createall b/bin/createall index 2b32e52b..b0b35531 100755 --- a/bin/createall +++ b/bin/createall @@ -1,3 +1,11 @@ #!/bin/sh +CWD=`pwd` + +if [ `basename $CWD` != "bin" ] +then + echo $0 must be called from the bin subdirectory + exit 1 +fi + (allcreate.aux $0 $* 2>&1) | /usr/bin/tee ../script.log diff --git a/bin/htmlindex b/bin/htmlindex index fa19ccc3..41ee233a 100755 --- a/bin/htmlindex +++ b/bin/htmlindex @@ -1,9 +1,8 @@ #!/bin/sh cd ../html - # Construct index page in /html dir. grep '^ cplusplus.index -htmlindex < cplusplus.index > cppindex.html +../tmp/bin/htmlindex < cplusplus.index > cppindex.html diff --git a/yo/string/members.yo b/yo/string/members.yo index 5f71e27a..8a089988 100644 --- a/yo/string/members.yo +++ b/yo/string/members.yo @@ -14,10 +14,9 @@ blanks. The final 0-byte that is used in bf(C) to indicate the end of a tt(ASCII-Z) string is em(not) considered part of a bf(C++) string, and so the member function will return tt(npos), rather than tt(length()). -In the following overview, `tt(size_type)' should always be read as +In the following overview, `tt(size_type)' should be read as `ti(string::size_type)'. itemization( - it() hi(string::at()) tt(char &string::at(size_type opos)): quote(the character (reference) at the indicated position is returned (it may be reassigned). The member function performs range-checking, @@ -113,7 +112,7 @@ meaning.) quote(the contents of the tt(string) object are (partially) copied to tt(argument). The actual number of characters that were copied is returned. Note that - itemization() + itemization( it() the second argument, specifying the number of characters to copy, is required; it() the characters of the object for which this member is called will be @@ -398,4 +397,5 @@ tt(substr()).) tt(argument). In this case, tt(argument) must be a tt(string) and cannot be a tt(char const *). Of course, both strings (tt(object) and tt(argument)) are modified by this member function.) + ) )