06-08-2011
thanks for the info, i'll see what i can do..
I thought ip filtering could be done only by modifying some file with the list
of 'known' IP's...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I want to make a filter with procmail, using the day of the week ant the hour to filter the message.
If the day is Tuesday, the message is redirected to one address. On the other days, the message goes to another address. The messages will be redirected at 8 am to 17 pm.
I tried... (1 Reply)
Discussion started by: luiz_fer10
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to filter the output of a command and display omitting the first 6 lines and the last two lines..How can i do this using awk.
command | awk ' NR > 7' will omitt the first 6 lines but dont know how to omit the last two lines.. can anyone help? (3 Replies)
Discussion started by: arun_st
3 Replies
3. Shell Programming and Scripting
People,
Ive been trying to make a script but i just cant figure it out.
Problem/ Case:
I have a logfile.txt that contains data. The only two things i need to filter on = $1 (date), $6 (errorcode).
In the script i am trying to make, u need to fill in a date. So he searches on that date... (11 Replies)
Discussion started by: Pow3R
11 Replies
4. Shell Programming and Scripting
Hi all,
Can you please let me know how to achieve the below thing
AAABBCC@#$W123
123@#$DFG<>.
Output:
AAABBCW123
123DFG
i.e I want to filer only alphanumerics from the strings (4 Replies)
Discussion started by: marcus_kosaman
4 Replies
5. Linux
hi all,
here is my question.
i have the following data
Block 1
a b c
d e f
g h i
Block 2
j k l
m n o
p q r
i need to grep all information from block 1 i.e 'a to i' (6 Replies)
Discussion started by: yprudent
6 Replies
6. Shell Programming and Scripting
Hi I have a file containing the below lines
1010001001639
1010001001789
1020001001927
1030001001928
1040001002033
1200001002609
1200001003481
1200001004935
I need to filter lines that starts with 101.
It would be of great help if its in awk. (6 Replies)
Discussion started by: Naga06
6 Replies
7. UNIX for Dummies Questions & Answers
I want to view a file ignoring mutilple comment line (/*....*/). Please help me on this.
Advance thanks.:b: (5 Replies)
Discussion started by: Pradipta Kumar
5 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I am very now to this, hope you can help,
I am looking into editing a file in Solaris, with dinamic collums (lenght varies) and I need 2 things to be made, the fist is to filter the first column and third column from the file bellow file.txt, and create a new file with the 2 filtered... (8 Replies)
Discussion started by: jpbastos
8 Replies
9. Shell Programming and Scripting
Hey,
I'm using some sensors that can be read by http.
If I run following command:
curl -v 'http://192.168.111.23:8080/sensor/52f5c63cc4221fbbedcb499908a0a823?version=1.0&interval=minute&unit=watt&callback=realtime'
I'm getting:
I would like to put this now in a sheet with only the... (9 Replies)
Discussion started by: brononius
9 Replies
10. UNIX for Dummies Questions & Answers
Hi Folks,
I have a text file with lots of rows with duplicates in the first column, i want to filter out records based on filter columns in a different filter text file.
bash scripting is what i need.
Data.txt
Name OrderID Quantity
Sam 123 300
Jay 342 498
Kev 78 2500
Sam 420 50
Vic 10... (3 Replies)
Discussion started by: tech_frk
3 Replies
LEARN ABOUT CENTOS
th_validate
thai/thinp.h(3) libthai thai/thinp.h(3)
NAME
thai/thinp.h -
Thai string input sequence filtering.
SYNOPSIS
Data Structures
struct thinpconv_t
Input sequence correction info.
Enumerations
enum thstrict_t { ISC_PASSTHROUGH = 0, ISC_BASICCHECK = 1, ISC_STRICT = 2 }
Strictness of input sequence checking, according to WTT 2.0.
Functions
int th_isaccept (thchar_t c1, thchar_t c2, thstrict_t s)
Check for acceptance of input sequence.
int th_validate (struct thcell_t context, thchar_t c, struct thinpconv_t *conv)
Check and try to correct input sequence.
Detailed Description
Thai string input sequence filtering.
Enumeration Type Documentation
enum thstrict_t
Strictness of input sequence checking, according to WTT 2.0.
Enumerator
ISC_PASSTHROUGH
No check
ISC_BASICCHECK
Basic check
ISC_STRICT
Strict check
Function Documentation
int th_isaccept (thchar_tc1, thchar_tc2, thstrict_ts)
Check for acceptance of input sequence.
Parameters:
c1 : previous character
c2 : the newly input character
s : strictness level
Returns:
non-zero if accepted, 0 otherwise
Checks if, according to WTT 2.0 strictness level s, c2 is allowed after c1.
int th_validate (struct thcell_tcontext, thchar_tc, struct thinpconv_t *conv)
Check and try to correct input sequence.
Parameters:
context : previous cell
c : the newly input character
conv : the storage for resulting correction info
Returns:
0 if the input is to be rejected non-zero otherwise.
Given the previous cell as context, edit the input buffer using the given input c, maintaining WTT canonical order, and do some convenient
correction in conv.
Author
Generated automatically by Doxygen for libthai from the source code.
Version 0.1.14 Tue Jun 17 2014 thai/thinp.h(3)