Here's the first 10 lines of "godoc strings":

PACKAGE DOCUMENTATION

package strings
    import "strings"

    Package strings implements simple functions to manipulate strings.

FUNCTIONS

func Contains(s, substr string) bool


David


On Sun, Aug 24, 2014 at 5:27 AM, Bram Moolenaar <[email protected]> wrote:

>
> David -
>
> > On 23 August 2014 23:24, Bram Moolenaar <[email protected]> wrote:
> >
> > > If there is no specific file name, perhaps the type can be guessed from
> > > the file contents?
> >
> > There isn't anything hugely distinctive, but you could look for a line
> > solely consisting of "PACKAGE DOCUMENTATION" as the first line.
>
> Do you have an example of such a file?  Just the first 10 lines or so
> would be enough.
>
> - Bram
>
> --
> Be thankful to be in a traffic jam, because it means you own a car.
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net
>  \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/
> \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org
> ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org
> ///
>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui