Author Topic: STDIN/STDOUT mode?  (Read 10636 times)

0 Members and 1 Guest are viewing this topic.

Offline Culpeper

  • Avast Evangelist
  • Advanced Poster
  • ***
  • Posts: 1196
STDIN/STDOUT mode?
« on: December 09, 2005, 12:40:08 AM »
What is the STDIN/STDOUT mode and how do you use this within a shell script?
The wind in the wires made a tattletale sound
And a wave broke over the railing
And every man knew, as the Captain did, too,
T'was the witch of November come stealing.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67096
The best things in life are free.

Offline Culpeper

  • Avast Evangelist
  • Advanced Poster
  • ***
  • Posts: 1196
Re: STDIN/STDOUT mode?
« Reply #2 on: December 09, 2005, 04:45:40 AM »
Yes, that was helpful.  The following is from the Avast Man pages:

Code: [Select]
It also supports a special stdin/stdout mode which makes it work as a fil‐
       ter (pipe).

OPTIONS
       Mandatory arguments to long options are  mandatory  for  short  options
       too.

       -_, --console
              work in stdin/stdout (filter) mode


So, I am assuming this can be used for scanning incoming email piped through a shell script.  Neither the Man pages nor the AvastGUI Help is informative enough to give me a better idea on how to make it work or use it for something like on that Kmail thread I started on this forum.  Tech, is there any Avast staff working on the Avast Linux project or is it something they sort of do on the side?

Personally, I think the Man pages should be posted as a sticky on this forum since it is only a few pages long.  The Man pages could be a little more instructive than informative.  The informative part is already there.  It's the instructions that is lacking.   The Help menu for AvastGUI is fine.  But it is only for AvastGUI and doesn't give anything for Konsole command line use of the program.

The wind in the wires made a tattletale sound
And a wave broke over the railing
And every man knew, as the Captain did, too,
T'was the witch of November come stealing.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67096
Re: STDIN/STDOUT mode?
« Reply #3 on: December 09, 2005, 11:39:32 AM »
Tech, is there any Avast staff working on the Avast Linux project or is it something they sort of do on the side?
Who am I to answer this?
As far I know and can see in these forums, dublin is this guy.
Maybe windows is not a business priority...  ::)
The best things in life are free.

Offline Culpeper

  • Avast Evangelist
  • Advanced Poster
  • ***
  • Posts: 1196
Re: STDIN/STDOUT mode?
« Reply #4 on: December 09, 2005, 08:54:14 PM »
It doesn't appear to be a priority.  Avast for Linux is not quite there yet.  The GUI is nice and it seems to work fine but the documentation is poor and needs more work.   I'll move on.  There doesn't seem to be much interest in testing.  Especially, if there is only one person working on it and one user asking questions.   Oh, well.

Check ya out later, Techie! ;)
The wind in the wires made a tattletale sound
And a wave broke over the railing
And every man knew, as the Captain did, too,
T'was the witch of November come stealing.