Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strings(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

od(1)



     strings(1)                 DG/UX 4.30                  strings(1)



     NAME
          strings - find the printable strings in an object or other
          binary file

     SYNOPSIS
          strings [ -o ] [ -number ] file ...

     DESCRIPTION
          Strings looks for ascii strings in a binary file.  A string
          is any sequence of 4 or more printing characters ending with
          a newline or a null.  If the -o option is given, then each
          string is preceded by its offset in the file.  If the
          -number option is given, the number is used as the minimum
          string length rather than 4.

          Strings is useful for identifying random object files and
          many other things.

     EXAMPLES
          $ cat file.c

          main()
          {
          printf("hello world\n");
          }

          The cat command lists the contents of file.c.

          $ strings file.o

          .text
           .data
          @.tdesc
          hello world
          .file
          .coffsyn
          .text
          .data
          .tdesc
          @LC0
          _main
          @Locs.a0
          _printf
          @Locs.b0

          This command lists all strings (with 4 or more characters)
          contained in the object file, file.o.

     SEE ALSO
          od(1)





     Licensed material--property of copyright holder(s)         Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026