Search Results

Search: Posts Made By: bigearsbilly
Forum: Programming 05-31-2016
3,487
Posted By bigearsbilly
I do similar operations where the reply contains...
I do similar operations where the reply contains the size in the metadata in FIX data.
I use the following:

MSG_PEEK
This flag causes the receive operation to return data from the
...
4,027
Posted By bigearsbilly
Here is my own little concoction I use for such...
Here is my own little concoction I use for such things.
Produces output like:

=====================================
host total FIN_WAIT2 ESTABLISHED
192.168.1.115 | ...
1,467
Posted By bigearsbilly
this is fun! perl -pe...
this is fun!


perl -pe 's/(?:=)(\w+)\w/\1__ /g ; 1 while s/(\w)(\w)((__ )+)/\1__ \3/' < input-text-file

Truth be told, this is the c__ __ __ __ __ __
I've e__ __ __ g__ __ __ __ __ to a...
2,493
Posted By bigearsbilly
you are on the right track, maybe no need for...
you are on the right track, maybe no need for awk.

uniq -c does a count.

you can simply sort -u

define gibberish.

you can use tr -cd to complement the search (if that's any easier):
eg:...
5,538
Posted By bigearsbilly
why? qx/script/; open OUT,...
why?

qx/script/;


open OUT, "script|";
print while <OUT>;
Forum: Programming 05-28-2010
2,722
Posted By bigearsbilly
you again! L.student->name
you again!

L.student->name
Forum: Programming 05-24-2010
21,847
Posted By bigearsbilly
try: Slist.list[Slist.number++]
try:

Slist.list[Slist.number++]
1,512
Posted By bigearsbilly
another thing you can do is to make the mail more...
another thing you can do is to make the mail more useful is use a "here" document and
insert things using $(command) or `command` like so:


mailx -s "BACKUP FAILED" johndoe@test.com <<EOF

we...
8,565
Posted By bigearsbilly
well, I haven't used XML::Simple. The work...
well, I haven't used XML::Simple.

The work I've been doing lately involves all sorts of XML processing:
creating, parsing, editing, extracting data with Xpath queries.
XML::Twig does all these...
8,571
Posted By bigearsbilly
do you have dos2unix? or cat file | tr...
do you have dos2unix?

or

cat file | tr -d '\015' > new_file


should do it.
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 11:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy