Main > Free Download Search >

Free stdout c software for linux

stdout c

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 406
Sys::OutPut 2.1

Sys::OutPut 2.1


Sys::OutPut is a Perl module to help make output easier. more>>
Sys::OutPut is a Perl module to help make output easier.

SYNOPSIS

usage Sys::OutPut;

talk $fmtstr [, @args];

out $fmtstr [, @args];

put $fmtstr [, @args];

err $fmtstr [, @args];

debug $fmtstr [, @args];

$Sys::OutPut::quiet = $::quiet;

$Sys::OutPut::debug = $::debug;

These subroutines will make generating output to STDOUT and STDERR easier.

All of the routines treat the $fmtstr argument as a printf format string, with @args as the format string arguments.

The talk routine generates output to STDERR only if the variable $Sys::OutPut::quiet is non-null and non-zero.

The out routine generates output to STDOUT, with a newline appended to , if it is not already terminated with one.

The put routine generates output to STDOUT, without any additional trailing newline.

The err routine generates output to STDERR, with a newline appended if needed.

The debug routine generates output to STDERR only if the variable

$Sys::OutPut::debug is non-null and non-zero, which is also returned as the result.

This allows for convenient usages such as in the following example:

sub foo {
...
return if debug "Stopping now.";
...
next if debug "Skipping further processing";
...
}

If not defined by the user, the $Sys::OutPut::quiet and $Sys::OutPut::debug variables are initialized from their corresponding main variables $::quiet and $::debug, respectively, unless they are already defined.

<<less
Download (0.010MB)
Added: 2006-11-02 License: Perl Artistic License Price:
1087 downloads
ipsort

ipsort


ipsort script sorts a STDIN of IP addresses to STDOUT. more>>
ipsort script sorts a STDIN of IP addresses to STDOUT. It sorts by the first octet, then by the second, the third and the fourth.

Usage: Takes Standard in or a file or list of files. So ipsort < file1 > < file2 > or cat < file > | ipsort
Its quite clever and looks for an IP address on each line, rejecting if it doesnt find one

Options:

-c or --commas Separate the list by space-separated commas, rather than one IP per line.
-u or --unique Uniquely sort the list as well, to avoid duplicate IPs.
-s or --string Use this string to separate the IPs. Eg. -s :
-m or --multiple Search for multiple IP addresses per line.
-h or --help Display this usage message.

<<less
Download (MB)
Added: 2007-04-05 License: GPL (GNU General Public License) Price:
934 downloads
xmltvdb 3

xmltvdb 3


xmltvdb is a fairly simplistic tv listings database/viewer for xmltv listings. more>>
xmltvdb is a fairly simplistic tv listings database/viewer for xmltv listings. It uses PostgreSQL and mod_perl.

Creating the Database

First off, youll want to create your database. The schema.sql file contains the basics youll need. The mkschema.sh will replace the placeholder schema name within schema.sql with the value you pass it as an argument, and spit the result out to stdout. So, you might do something like:

./mkschema.sh xmltv | psql database xmltvuser

And assuming the xmltvuser has create schema privileges (important!) it should create everything. If you want separate users for schema ownership versus reading/writing data, youll have to setup the grants yourself. The pgadmin3 tool makes doing such mass grants easy.

<<less
Download (0.044MB)
Added: 2006-09-26 License: Perl Artistic License Price:
1125 downloads
Standalonecomplex 1.3

Standalonecomplex 1.3


Standalonecomplex is a banner scanner used for profiling subnets. more>>
Standalonecomplex is a banner scanner used for profiling subnets. Standalonecomplex project has built in nmap support as well as static port profiling.

Usage:

./standalonecomplex [-h] [-c < file >] [-r < range >] [-l < log >]

-h : print this screen.
-v : display only vulnerable hosts.
-c < file > : configuration file.
-l < log > : file to log output to (default is stdout).
-r < range > : ip range to scan.
<<less
Download (0.004MB)
Added: 2006-01-17 License: Freely Distributable Price:
1375 downloads
TcpCat 0.1

TcpCat 0.1


TcpCat is a very lightweight tcp util. more>>
TcpCat is a cat like command but for tcp service.

TcpCat is a very lightweight tcp util. It take an IP address and a TCP port as argument, connect to it and give the result back to stdout.

It was written as a lightweight version of netcat. As such it work as the unix cat command but instead of displaying a file it display the result from a tcp service.
<<less
Download (0.010MB)
Added: 2005-09-26 License: GPL (GNU General Public License) Price:
1489 downloads
TrouSerS 0.2.9.1

TrouSerS 0.2.9.1


TrouSerS is a Trusted Computing Group Software Stack (TCG TSS) implementation. more>>
TrouSerS is a Trusted Computing Group Software Stack in short TCG TSS implementation.
TrouSerS complies with the TCG Software Stack Specification Version 1.1.
Enhancements:
- Set stdout to be unbuffered when debug is on so that stderr and stdout are interleaved correctly.
- Fixed bugs in PcrExtend: 3 fields of the PCR event struct
- were not being set by trousers before sending the event to
- the TCS.
- Added error returns when setting attributes of an already
- created TPM key object.
- bugfix: spi_tpm.c, removed refs to the ID keys migration
- policy in CollateIdentityRequest.
- bugfix: clntside.c, line 175: sd is not always >= 0
- bugfix: spi_tpm.c, line 1951: uninitialized pubBlob
- bugfix: spi_tpm.c, line 2541: passing NULL to argument 2 of memcpy
- bugfix: tcspbg.c, line 1847: leaving function internal_TCSGetCap with a pointer to freed memory
- bugfix: tcskcm.c, line 939: uninitialized pubKey.key
- bugfix: biosem.c, line 210: uninitialized bytes_read
<<less
Download (1.3MB)
Added: 2007-07-20 License: Common Public License Price:
828 downloads
dump_kstat 0.05a

dump_kstat 0.05a


dump_kstat is a Perl module created to dump the kstat structure. more>>
dump_kstat is a Perl module created to dump the kstat structure.

This simple script dumps the entire kstat structure to stdout - useful for figuring out what statistics are available.

EXAMPLES

$ dump_kstat
audio.0.audioc0 class = controller
audio.0.audioc0 crtime = 3533.04802622
audio.0.audioc0 hard = 444966
audio.0.audioc0 multiple service = 0
audio.0.audioc0 snaptime = 1993147.67168284
audio.0.audioc0 soft = 0
audio.0.audioc0 spurious = 0
audio.0.audioc0 watchdog = 0

cpu_info.0.cpu_info0 class = misc
cpu_info.0.cpu_info0 clock_MHz = 296
cpu_info.0.cpu_info0 cpu_type = sparc
cpu_info.0.cpu_info0 crtime = 48.927526937
cpu_info.0.cpu_info0 fpu_type = sparc
cpu_info.0.cpu_info0 snaptime = 1993147.67383159
cpu_info.0.cpu_info0 state = on-line
cpu_info.0.cpu_info0 state_begin = 906386861

:
:
:

$

<<less
Download (0.024MB)
Added: 2007-06-19 License: Perl Artistic License Price:
858 downloads
Test::Trap 0.0.23

Test::Trap 0.0.23


Test::Trap is a Perl module with trap exit codes, exceptions, output, etc. more>>
Test::Trap is a Perl module with trap exit codes, exceptions, output, etc.

SYNOPSIS

use Test::More;
use Test::Trap qw( trap $trap );

my @r = trap { some_code(@some_parameters) };
is ( $trap->exit, 1, Expecting &some_code to exit with 1 );
is ( $trap->stdout, , Expecting no STDOUT );
like ( $trap->stderr, qr/^Bad parameters; exitingb/, Expecting warnings. );

Primarily (but not exclusively) for use in test scripts: A block eval on steroids, configurable and extensible, but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values from boxed blocks of test code.

The values collected by the latest trap can then be queried or tested through a a special result object.

EXPORT

A function and a scalar may be exported by any name. The function (by default named trap) is an analogue to block eval(), and the scalar (by default named $trap) is the corresponding analogue to $@.

Optionally, you may specify the default layers for the exported trap. Layers may be specified by name, with a colon sigil. Multiple layers may be given in a list, or just stringed together like :flow:stderr:warn.

(For the advanced user, you may also specify anonymous layer implementations -- i.e. an appropriate subroutine.)

See below for a list of the built-in layers, all of which are enabled by default. Note, finally, that the ordering of the layers matter: The :raw layer is always on the bottom (anything underneath it is ignored), and any other "flow control" layers used should be right down there with it.

FUNCTION

trap BLOCK

This function may be exported by any name, but defaults to trap.
Traps exceptions like block eval, but (by default) also traps exits and exit codes, returns and return values, context, and (Perl) STDOUT, STDERR, and warnings, All information trapped can be queried by way of the status object, which is by default exported as $trap, but can be exported by any name.

<<less
Download (0.028MB)
Added: 2007-08-06 License: Perl Artistic License Price:
810 downloads
Test::Litmus 0.03

Test::Litmus 0.03


Test::Litmus is a Perl module to submit test results to the Litmus testcase management tool. more>>
Test::Litmus is a Perl module to submit test results to the Litmus testcase management tool.

SYNOPSIS

use Test::Litmus;

$t = Test::Litmus->new(-machinename => mycomputer,
-username => user,
-authtoken => token,
# optional # -server => http://litmus.mozilla.org/process_test.cgi,
# optional # -action => submit);

$t->sysconfig(-product => Firefox,
-platform => Windows,
-opsys => Windows XP,
-branch => Trunk,
-buildid => 2006061314,
-buildtype => debug cvs,
-locale => en-US);

my $result = Test::Litmus::Result->new(
-isAutomatedResult => 1, # optional
-testid => 27,
-resultstatus => pass, # valid results are pass
# or fail
-exitstatus => 0,
-duration => 666,
-timestamp => 20051111150944, # optional (default: current time)
-comment => optional comment here, # optional
-bugnumber => 300010, # optional
-log => [Test::Litmus::Log->new( # optional
-type => STDOUT,
-data => foobar),
Test::Litmus::Log->new(
-type => Extensions Installed,
-data => log information here)]
);
$t->addResult($result);
# $t->addResult($someOtherResult);
# etc...

# add log information that should be linked with
# all results (i.e. env variables, config info)
$t->addLog(Test::Litmus::Log->new(
-type => STDOUT,
-data => log data));

my $res = $t->submit();

# $res is 0 for non-fatal errors (some results were submitted), and
# undef for fatal errors (no results were submitted successfully)

if ($t->errstr()) { die $t->errstr() }

<<less
Download (0.004MB)
Added: 2007-05-04 License: Perl Artistic License Price:
903 downloads
Symbol 0.02

Symbol 0.02


Symbol is a Perl module created to manipulate Perl symbols and their names. more>>
Symbol is a Perl module created to manipulate Perl symbols and their names.

SYNOPSIS

use Symbol;

$sym = gensym;
open($sym, "filename");
$_ = ;
# etc.

ungensym $sym; # no effect

# replace *FOO{IO} handle but not $FOO, %FOO, etc.
*FOO = geniosym;

print qualify("x"), "n"; # "Test::x"
print qualify("x", "FOO"), "n" # "FOO::x"
print qualify("BAR::x"), "n"; # "BAR::x"
print qualify("BAR::x", "FOO"), "n"; # "BAR::x"
print qualify("STDOUT", "FOO"), "n"; # "main::STDOUT" (global)
print qualify(*x), "n"; # returns *x
print qualify(*x, "FOO"), "n"; # returns *x

use strict refs;
print { qualify_to_ref $fh } "foo!n";
$ref = qualify_to_ref $name, $pkg;

use Symbol qw(delete_package);
delete_package(Foo::Bar);
print "deletedn" unless exists $Foo::{Bar::};

Symbol::gensym creates an anonymous glob and returns a reference to it. Such a glob reference can be used as a file or directory handle.

For backward compatibility with older implementations that didnt support anonymous globs, Symbol::ungensym is also provided. But it doesnt do anything.

Symbol::geniosym creates an anonymous IO handle. This can be assigned into an existing glob without affecting the non-IO portions of the glob.

Symbol::qualify turns unqualified symbol names into qualified variable names (e.g. "myvar" -> "MyPackage::myvar"). If it is given a second parameter, qualify uses it as the default package; otherwise, it uses the package of its caller. Regardless, global variable names (e.g. "STDOUT", "ENV", "SIG") are always qualified with "main::".

Qualification applies only to symbol names (strings). References are left unchanged under the assumption that they are glob references, which are qualified by their nature.

Symbol::qualify_to_ref is just like Symbol::qualify except that it returns a glob ref rather than a symbol name, so you can use the result even if use strict refs is in effect.

Symbol::delete_package wipes out a whole package namespace. Note this routine is not exported by default--you may want to import it explicitly.

<<less
Download (0.015MB)
Added: 2007-05-14 License: Perl Artistic License Price:
894 downloads
RAIDmon2 2.3

RAIDmon2 2.3


RAIDmon2 is a script to monitor PERC RAID controllers. more>>
RAIDmon2 is a script to monitor Dells PERC/4 RAID controller with SNMP.

It uses X-window (Tk at version 2.2, GTK in older ones) or STDOUT as output.

<<less
Download (0.021MB)
Added: 2005-04-07 License: Free To Use But Restricted Price:
1661 downloads
bytetraf 1.0

bytetraf 1.0


bytetraf is a small tool for monitoring traffic to and from your machine. more>>
bytetraf project is a small tool for monitoring traffic to and from your machine.

The following information is printed to stdout at a specified time interval: time, interface, bytes received, bytes transfered, and rate.
<<less
Download (0.004MB)
Added: 2006-08-17 License: GPL (GNU General Public License) Price:
1164 downloads
libSRTP 1.4.4

libSRTP 1.4.4


libSRTP is an implementation of the Secure Real-time Transport Protocol. more>>
libSRTP library is an open-source implementation of the Secure Real-time Transport Protocol (SRTP) originally authored by Cisco Systems, Inc. It is available under a BSD-style license.
SRTP is a security profile for RTP that adds confidentiality, message authentication, and replay protection to that protocol. It is specified in RFC 3711. More information on the SRTP protocol itself can be found on the Secure RTP Page.
Installation:
./configure [ options ] # GNU autoconf script
make # or gmake if needed; use GNU make
The configure script accepts the following options:
--help provides a usage summary
--disable-debug compile without the runtime debugging system
--enable-syslog use syslog for error reporting
--disable-stdout use stdout for error reporting
--enable-console use /dev/console for error reporting
--gdoi use GDOI key management (disabled at present)
By default, debbuging is enabled and stdout is used for debugging. You can use the above configure options to have the debugging output sent to syslog or the system console. Alternatively, you can define ERR_REPORTING_FILE in include/conf.h to be any other file that can be opened by libSRTP, and debug messages will be sent to it.
This package has been tested on Mac OS X (powerpc-apple-darwin1.4),
Cygwin (i686-pc-cygwin), and Sparc (sparc-sun-solaris2.6). Previous
versions have been tested on Linux and OpenBSD on both x86 and sparc
platforms.
Enhancements:
- Release 1.4.4 is a snapshot of the code in CVS, which has been slowly accumulating minor fixes and extensions.
<<less
Download (0.50MB)
Added: 2007-05-05 License: BSD License Price:
915 downloads
extm3u.pl 0.1

extm3u.pl 0.1


extm3u.pl generates an extended .m3u playlist from a given directory. more>>
extm3u.pl generates an extended .m3u playlist from a given directory. The generated playlist can be used with XMMS, Winamp, and other MPEG layer 3 players. The playlist is printed to stdout. Extended .m3u files contain additional information, such as the length of the song and data from the ID3 tag. This script requires the MP3::Info Perl-module.
For the curious the process will looks like this:
EXTINF:187,Bob Marley & The Wailers - Keep On Moving
./Bob_Marley_and_The_Wailers/Trilogy_CD3/Keep_On_Moving.mp3
The first number is the length of the song in seconds, then comes the artistname and songname from the ID3-tag
Enhancements:
- Added OGG Vorbis Support (thanks to David Klotz)
<<less
Download (0.008MB)
Added: 2006-07-25 License: GPL (GNU General Public License) Price:
1194 downloads
Net:IPMessenger::ToStdoutEventHandler 0.06

Net:IPMessenger::ToStdoutEventHandler 0.06


Net:IPMessenger::ToStdoutEventHandler is a Perl module for event handler for standard output. more>>
Net:IPMessenger::ToStdoutEventHandler is a Perl module for event handler for standard output.

SYNOPSIS

use Net::IPMessenger::ToStdoutEventHandler;

...

$ipmsg->add_event_handler( new Net::IPMessenger::ToStdoutEventHandler );

IP Messenger receive event handler for standard output.

METHODS

output

output($user->nickname . " joined.");

This actually converts encodings and output to STDOUT.

debug

Outputs debug receive message.

BR_ENTRY

Outputs "someone joined." message.

BR_EXIT

Outputs "someone left." message.

SENDMSG

Outputs "youve got message from someone." message.

<<less
Download (0.012MB)
Added: 2007-01-25 License: Perl Artistic License Price:
1006 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5