1N/A/*********************************************************************** 1N/A* This software is part of the ast package * 1N/A* Copyright (c) 1992-2010 AT&T Intellectual Property * 1N/A* and is licensed under the * 1N/A* Common Public License, Version 1.0 * 1N/A* by AT&T Intellectual Property * 1N/A* A copy of the License is available at * 1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 1N/A* Information and Software Systems Research * 1N/A* Glenn Fowler <gsf@research.att.com> * 1N/A* David Korn <dgk@research.att.com> * 1N/A***********************************************************************/ 1N/A"[-?\n@(#)$Id: strings (AT&T Research) 2000-04-01 $\n]" 1N/A"[+NAME?strings - find and display printable strings in files]" 1N/A"[+DESCRIPTION?\bstrings\b searches for printable strings in regular files" 1N/A" and writes those strings to the standard output. A printable string" 1N/A" is any sequence of four (by default) or more printable characters" 1N/A" terminated by a newline or NUL character.]" 1N/A"[a:all?Scan the entire file. Always enabled in this implementation.]" 1N/A"[l:long-strings?Ignore \anewline\a characters as string terminators and" 1N/A" display strings using C character escape sequences. These strings" 1N/A" are suitably escaped for placement inside C \"...\" and" 1N/A" \bksh\b(1) $'...' string literals.]" 1N/A"[m:multi-byte?Scan for multibyte strings.]" 1N/A"[n:length|bytes?Set the minimum matched string length to \alength\a. For" 1N/A" compatibility -\anumber\a is equivalent to" 1N/A" \b--length\b=\anumber\a.]#[number:=4]" 1N/A"[t:radix|format?Write each string preceded by its byte offset from the" 1N/A" start of the file. The offset radix is determined by:]:[format]{" 1N/A"[o:octal?Equivalent to \b--radix=o\b.]" 1N/A"[+SEE ALSO?\bgrep\b(1), \bnm\b(1), \bwhat\b(1)]" 1N/A if (!*(
cp +
1) && ((n = *
cp) ==
'd' || n ==
'o' || n ==
'x'))