hi everyone,
I need to do the following thing in a case insesitive mode
sed 's/work/job/g' filename
since work could appear in different form as Work WORK WorK wORK,....
I was wondering if i could do a case insensitive search of a word.
thanks in advance,
:) (4 Replies)
I'd like to print a line if a substring is matched in a case insensitive manner
something like do a case insensitive search for ABCD as a substring:
awk '{ if (substr($1,1,4) == "") print $1 }' infile > outfile
I'm not certain how to make the syntax work???
Thanks (4 Replies)
Hey , i am trying to do a search for the certain books , and im trying to make it case insensitive. what i have come up with so far is this :
Database.txt
RETARDED MONKEY:RACHEAL ABRAHAML:30:30:20
GOLD:FATIN:23.20:12:3
STUPID:JERLYN:20:40:3
echo -n "Title: "
read Title
echo -n... (3 Replies)
here is a statement
awk '/CREATE PROCEDURE/,/elimiter/' "$file1" > onlyproc1.sql
which mean cut from create procedure to Delimiter or delimiter and paste it in onlyproc1.sql... my query is how to make this case insensitive.. that is i want the above code to work whther it is Delimiter or... (26 Replies)
i have something like this in a file
cat onlytables.sql
create table NextID (
id int auto_increment,
zoneID int,
entityName varchar(64),
nextID int,
lastModified TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
primary... (6 Replies)
Hi,
I have a requirement to copy files from one server to other using SCP.
I am using * to copy files as I just need to pick up the files that are ending with .OK. But few ok files are in upper case and few are in lower case. If I am using below code, only files with upper case OK are being... (1 Reply)
Dears,
In the below string, please let me know how to make the sed search case-incensitive. I have more such lines in my script instead of let me know any other easier option.
sed -n '/dn: MSISDN=/,/^\s*$/p' full.ldif > temp ; sed -n... (4 Replies)
Discussion started by: Kamesh G
4 Replies
LEARN ABOUT DEBIAN
mysqmail-postfix-logger
mysqmail-postfix-logger(8) System Manager's Manual mysqmail-postfix-logger(8)NAME
mysqmail-postfix-logger - logs smtp traffic to a mysql database
SYNOPSIS
mysqmail-postfix-logger subprogram [ args ... ]
DESCRIPTION
mysqmail-postfix-logger reads the syslog using tail -F and for each lines, does an action in a selected table in the selected mysql server
(configuration done using /etc/mysqmail.conf). All messages that have been delivered are marqued as so in the from and in the to field of
the smtp traffic table.
mysqmail-postfix-logger uses a table corresponding to this one:
CREATE TABLE IF NOT EXISTS smtp_logs (
id int(11) NOT NULL auto_increment,
newmsg_id bigint(20) default NULL,
bounce_qp int(11) default NULL,
bytes int(11) NOT NULL default '0',
sender_user varchar(128) NOT NULL default '',
sender_domain varchar(128) NOT NULL default '',
delivery_id bigint(20) default NULL,
delivery_user varchar(128) NOT NULL default '',
delivery_domain varchar(128) NOT NULL default '',
delivery_success enum('yes','no') NOT NULL default 'no',
time_stamp timestamp(14) NOT NULL,
PRIMARY KEY (id),
UNIQUE KEY bounce_qp (bounce_qp),
UNIQUE KEY newmsg_id (newmsg_id),
KEY sender_domain (sender_domain),
KEY delivery_domain (delivery_domain) ) TYPE=MyISAM;
VERSION
This documentation describes mysqmail-postfix-logger version 0.1.4. See http://gplhost.com/softwares-mysqmail.html for updates.
SEE ALSO syslog(3), logger(8)mysqmail-postfix-logger(8)