"Fossies" - the Fresh Open Source Software Archive

Member "cook-2.34/lib/en/user-guide/function/words.so" (25 Sep 2010, 1234 Bytes) of package /linux/misc/old/cook-2.34.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 .\"
    2 .\"     cook - file construction tool
    3 .\"     Copyright (C) 1994, 1997, 2007, 2008 Peter Miller
    4 .\"
    5 .\"     This program is free software; you can redistribute it and/or modify
    6 .\"     it under the terms of the GNU General Public License as published by
    7 .\"     the Free Software Foundation; either version 3 of the License, or
    8 .\"     (at your option) any later version.
    9 .\"
   10 .\"     This program is distributed in the hope that it will be useful,
   11 .\"     but WITHOUT ANY WARRANTY; without even the implied warranty of
   12 .\"     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   13 .\"     GNU General Public License for more details.
   14 .\"
   15 .\"     You should have received a copy of the GNU General Public License
   16 .\"     along with this program. If not, see
   17 .\"     <http://www.gnu.org/licenses/>.
   18 .\"
   19 .H 2 "words"
   20 This function requires zero or more arguments.
   21 The result is a word list of one word containing the (decimal) length
   22 of the argument word list.
   23 .H 3 "Example"
   24 This cookbook fragment echoes the number of files,
   25 and then the name of the last file:
   26 .eB
   27 echo There are [words [files]] files.;
   28 echo The last file is [word [words [files]] [files]].;
   29 .eE
   30 .H 3 "See Also"
   31 head, tail, word
   32 .H 3 "Also Known As"
   33 count