Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

She sells cshs by the cshore.


devel / comp.unix.shell / Re: Command 'strings' reading (not) standard input

SubjectAuthor
o Command 'strings' reading (not) standard inputJanis Papanagnou

1
Re: Command 'strings' reading (not) standard input

<tcvsfm$1pk5s$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=6607&group=comp.unix.shell#6607

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: Command 'strings' reading (not) standard input
Date: Wed, 10 Aug 2022 11:07:01 +0200
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <tcvsfm$1pk5s$1@dont-email.me>
References: <tcu8re$1f6op$1@dont-email.me> <tcu99g$1d1mf$1@dont-email.me>
<871qtpqj8x.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 10 Aug 2022 09:07:02 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="36dd0e9b16a7cf2815e9b7db1df5f489";
logging-data="1888444"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19heOWsjjGsFkw5wv96L+pR"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:vHKJzn0UKYyBSEixulw5BbC2wDE=
In-Reply-To: <871qtpqj8x.fsf@nosuchdomain.example.com>
 by: Janis Papanagnou - Wed, 10 Aug 2022 09:07 UTC

On 09.08.2022 22:01, Keith Thompson wrote:
>
> But on my system, the strings command will read from stdin, though the
> synopsis on the man page doesn't directly say so:
>
> SYNOPSIS
> strings [-afovV] [-min-len]
> [SNIP]
> [--help] [--version] file...
>
> Using "file..." rather than "[file]..." implies that there must be at
> least one file name argument, but that appears to be inaccurate:
>
> $ echo hello | strings
> hello
> $
>
> The DESCRIPTION section does talk about strings reading from stdin (and
> changing behavior)

I focused on the syntax and the option description and missed that.
It works for me as well. - Thanks!

Janis

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor