08-29-2013
Please use code tags as required by forum rules!
What error do you encounter?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
Is it possible in Unix ?
The requirement is
=============
Create a unix shellscript that combines multiple excel files into one.
Note : it is possible for data files.but the requirement is for excel file (4 Replies)
Discussion started by: bikas_jena
4 Replies
2. Shell Programming and Scripting
Hi there,
I was wondering if someone can help me with this.
I am trying the combine multiple columns from multiple files into one file.
Example file 1:
c0t0d0 c0t2d0 # hostname vgname
c0t0d1 c0t2d1 # hostname vgname
c0t0d2 c0t2d2 # hostname vgname
c0t1d0 c0t3d0 # hostname vgname1... (5 Replies)
Discussion started by: martva
5 Replies
3. Shell Programming and Scripting
Below are the list of files I have
I want to consolidate the monthly log in the one file
Eg : all the july log to be moved to log_july_full.txt inside the script
Path : /home/user/data/log/
Jun 6 04:08 data_log-2010.05.30-10:04:08.txt
Jun 13 01:38 data_log-2010.06.06-10:04:08.txt... (3 Replies)
Discussion started by: mail2sant
3 Replies
4. Shell Programming and Scripting
How to combine 3 find statements into 1-liner?
find statements:
cd ${dir1} ; find . ! -name . -prune -type f | xargs file | grep -i ascii | cut -f1 -d: | xargs grep -l "${searchtxt}"
cd ${dir2} ; find . ! -name . -prune -type f | xargs file | grep -i ascii | cut -f1 -d: | xargs grep -l... (4 Replies)
Discussion started by: ux4me
4 Replies
5. Emergency UNIX and Linux Support
Hi Ppl,
I have a requirement like i will be getting files of huge size daily and if the file size is so huge ,the files will be split into many parts and sent.The first file will have the header details followed by detail records and the consecutive files will have detail records and the last... (11 Replies)
Discussion started by: ganesh_248
11 Replies
6. Shell Programming and Scripting
Can anybody help on the script to combine/concatenate columns from multiple files
input1
4 135
5 185
6 85
11 30
16 72
17 30
21 52
22 76
input2
2 50
4 50
6 33
8 62
10 25
12 46
14 42
15 46output (2 Replies)
Discussion started by: sdf
2 Replies
7. Shell Programming and Scripting
Hi Team,
I am getting input like below
$ ps -ef | grep pmon | grep -v asm | grep -v grep
oracle 3246 1 0 00:03 ? 00:00:01 ora_pmon_racora1
oracle 4367 1 0 00:03 ? 00:00:01 ora_pmon_test1
oracle 6893 1 0 00:03 ? 00:00:01 ora_pmon_gipora1... (6 Replies)
Discussion started by: kamauv234
6 Replies
8. Shell Programming and Scripting
Hey everyone,
I am working in an environment where the different users can use ksh or csh. My situation is that I need the same result with one single command line.
I am searching for the real path the file is in.
My ksh input and output
ts2:ts2adm> cd $(dirname $(which sapcontrol)); pwd -P... (2 Replies)
Discussion started by: h1kelds
2 Replies
9. Shell Programming and Scripting
I have the following sh-script:
konsole -T todo -e vi todo.txt &
konsole -T window1 -e ssh user@server &
konsole -T window2 -e ssh user@server2 -e cd directory &
The first two lines are working fine. The first opens a txt-file, the second opens a ssh-connection.
The third line... (6 Replies)
Discussion started by: andre666
6 Replies
10. Shell Programming and Scripting
Hi All,
I am having a log file
ERROR 2016-12-08 10:22:23.542 some data
**** some data******
**** some data******
**** some data******
DEBUG 2016-12-08 10:23:23.542 some data
**** some data******
**** some data******
**** some data******
when i grep the log file with ERROR am getting... (3 Replies)
Discussion started by: mohanalakshmi
3 Replies
LEARN ABOUT DEBIAN
mail::spamassassin::plugin::replacetags
Mail::SpamAssassin::Plugin::ReplaceTags(3pm) User Contributed Perl Documentation Mail::SpamAssassin::Plugin::ReplaceTags(3pm)
NAME
Mail::SpamAssassin::Plugin::ReplaceTags - tags for SpamAssassin rules
The plugin allows rules to contain regular expression tags to be used in regular expression rules. The tags make it much easier to
maintain complicated rules.
Warning: This plugin relies on data structures specific to this version of SpamAssasin; it is not guaranteed to work with other versions of
SpamAssassin.
SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::ReplaceTags
replace_start <
replace_end >
replace_tag A [a@]
replace_tag G [gk]
replace_tag I [il|!1y?xccxcdxcexcfxecxedxeexef]
replace_tag R [r3]
replace_tag V (?:[vu]|\/)
replace_tag SP [s~_-]
body VIAGRA_OBFU /(?!viagra)<V>+<SP>*<I>+<SP>*<A>+<SP>*<G>+<SP>*<R>+<SP>*<A>+/i
describe VIAGRA_OBFU Attempt to obfuscate "viagra"
replace_rules VIAGRA_OBFU
RULE DEFINITIONS AND PRIVILEGED SETTINGS
replace_tag tagname expression
Assign a valid regular expression to tagname.
Note: It is not recommended to put quantifiers inside the tag, it's better to put them inside the rule itself for greater flexibility.
replace_pre tagname expression
Assign a valid regular expression to tagname. The expression will be placed before each tag that is replaced.
replace_inter tagname expression
Assign a valid regular expression to tagname. The expression will be placed between each two immediately adjacent tags that are
replaced.
replace_post tagname expression
Assign a valid regular expression to tagname. The expression will be placed after each tag that is replaced.
replace_rules list_of_tests
Specify a list of symbolic test names (separated by whitespace) of tests which should be modified using replacement tags. Only simple
regular expression body, header, uri, full, rawbody tests are supported.
replace_start string
replace_end string
String(s) which indicate the start and end of a tag inside a rule. Only tags enclosed by the start and end strings are found and
replaced.
perl v5.14.2 2011-06-06 Mail::SpamAssassin::Plugin::ReplaceTags(3pm)