Sponsored Content
Full Discussion: How to filter
Top Forums Shell Programming and Scripting How to filter Post 302539499 by bartus11 on Monday 18th of July 2011 03:00:59 AM
Old 07-18-2011
Code:
awk '/^101/' file

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Filter using awk

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

2. Shell Programming and Scripting

File filter

Hi Everyone , have a nice i would need a little help on this i have file which contains blocks such as given below <hgsdp:msisdn=923228719047,loc; HLR SUBSCRIBER DATA SUBSCRIBER IDENTITY MSISDN IMSI STATE AUTHD 923228719047 410072110070614 CONNECTED ... (3 Replies)
Discussion started by: Dastard
3 Replies

3. UNIX for Dummies Questions & Answers

How to filter sentences??

Hi, I have few sentences here. $a1="Division of Hematology-Oncology, and Stem cell transplantation, Schneider Childrens Hospital, Albert Einstein College of Medicine, New Hyde Park, New York. "; $a2="Department of Cell Biology and Anatomy, College of Medicine, National Cheng Kung... (3 Replies)
Discussion started by: vanitham
3 Replies

4. Solaris

logger + filter

Hi, I have an application log file and I am redirecting it to syslog ...| logger -p user.err Howver, the size redirected is too arge and I am seeking a way to filter what to redirect to syslog. any mean to do this, knowing that I do not want to decrease the log level of the app? ... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies

5. Shell Programming and Scripting

How to filter Alphanumerics

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

6. Linux

filter data

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

7. Solaris

solaris IP filter ?

Hello, i have Solaris 10, is it possible to somehow limit remote access, via ssh for example , for only specific IP adresses , so when someone with IP that is not allowed can't connect via putty or something like that ? (2 Replies)
Discussion started by: tonijel
2 Replies

8. UNIX for Dummies Questions & Answers

Filter a particular string

Hi, I have a long log file. Out of which I want to filter particular occurrences where APC=4-033-0. Please help how it can be done. Input : +++ ELEMENT 12-05-27 23:15:06 CC 3482 #040185 > REPT APB TPE=C7NTL SM=22 OPC=4-003-7 APC=4-033-4 inaccessible END OF REPORT #040185 ++- ... (7 Replies)
Discussion started by: vanand420
7 Replies

9. UNIX for Dummies Questions & Answers

Filter records in a huge text file from a filter text file

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
MIXMASTER-FILTER(1)						 mixmaster-filter					       MIXMASTER-FILTER(1)

NAME
mixmaster-filter - Wrapper around mixmaster that removes unwanted header lines SYNOPSIS
mixmaster-filter DESCRIPTION
mixmaster-filter is a wrapper around mixmaster. It will filter out header lines which may endager your anonymity. All but a few options are passed on to mixmaster as is. If you specify -m, -g, -l or -n (see mixmaster(1)) then STDIN is filtered, otherwise mixmaster is executed as is. It is intented to be used from Mail User Agents like the mutt(1) email reader. OPTIONS
--mixmaster=MIXMASTER Set the path to the mixmaster binary. --configfile=FILTERCONFIGFILE Set a config file for mixmaster-filter. --help Print a brief help message and exit successfully. --version Print a version information and exit successfully. All other options are passed through to mixmaster. FILES
--configfile parameter MIXMASTER_FILTER_CONF environment ~/.Mix/filter.conf /etc/mixmaster/filter.conf The first file that is found is used. FILEFORMAT
The configuration file for mixmaster-filter is simple. Lines with whitespace only are ignored as are lines that have the hash our pound ("#") sign as their first non whitespace character. Lines are always truncated at the first hash our pound ("#") sign. The first logical line gives the filtering policy. It's either "FILTER" or "ALLOW". All other lines are taken as a list of Headers. If your policy is "FILTER" headers in your list will get removed from messages. If your policy is "ALLOW" only headers in your list will be passed to mixmaster. ENVIRONMENT
MIXMASTER_FILTER_CONF Config file to use HOME Your homedirectory. Used for finding your user configuration file. Also the default destination directory is $HOME/.Mix/ SEE ALSO
mixmaster(1) BUGS
It is far from perfect but should handle most standard cases satisfactorily. Please report them to the Debian Bug Tracking System as described at "http://bugs.debian.org/" or use a tool like reportbug(1). AUTHOR
Peter Palfrader, <peter@palfrader.org> $Revision: 459 $ 2013-02-08 MIXMASTER-FILTER(1)
All times are GMT -4. The time now is 10:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy