10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file comp.pkglist which mention package version and release . In 'version change' and 'release change' line there are two versions 'old' and 'new' Version Change: --> Release Change: -->
cat comp.pkglist
Package list: nss-util-devel-3.28.4-1.el6_9.x86_64
Version Change: 3.28.4 -->... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
2. Shell Programming and Scripting
Hi,
I have a list of zipped files. I want to grep for a string in all files and get a list of file names that contain the string. But without unzipping them before that, more like using something like gzcat.
My OS is:
SunOS test 5.10 Generic_142900-13 sun4u sparc SUNW,SPARC-Enterprise (8 Replies)
Discussion started by: apenkov
8 Replies
3. Shell Programming and Scripting
I am attempting to grep an exact string from a series of files within a directory and append that output to the filename when it is present in the file. I've been after this all day with no luck. Thanks for your help in advance :wall:. (4 Replies)
Discussion started by: JC_1
4 Replies
4. Shell Programming and Scripting
Hi ,
i'm trying to create a code for the belwo scenario.
i have a data in a file file.txt like below.
ram
dept
comp
shyam
field
comp
Now i need write a code to find the string which is always 2 lines before the string "comp"
Can you please help me in this.
Thanks in advance (15 Replies)
Discussion started by: p.bhaskar
15 Replies
5. Shell Programming and Scripting
Hi,
1_strings file contains
$ cat 1_strings
/home/$USER/Src
/home/Valid
/home/Review$ cat myxml
<projected value="some string" path="/home/$USER/Src">
<input 1/>
<estimate value/>
<somestring/>
</projected>
<few more lines >
<projected value="some string" path="/home/$USER/check">... (4 Replies)
Discussion started by: greet_sed
4 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have one shell script, which run another one script inside in nohup mode. I want to search one string from the nohyup.out file in the same mail shell script itself .Can anyone help me??
Please find the code below:
total_ear=`cd ear ; ls *.ear | wc -l | tr -d ' '`
for ear in `cd ear ; ls... (0 Replies)
Discussion started by: ckchelladurai
0 Replies
7. Shell Programming and Scripting
hi everyone,
1.txt
12
34
56
2.txt
456----aa
abc;b;b;b
34;a;a;a;a
output is
456----aa
34;a;a;a;a (11 Replies)
Discussion started by: jimmy_y
11 Replies
8. Shell Programming and Scripting
Hello guys - I am new to Unix.
I am trying to understand how to grep a perticular string in todays file?
I am trying this syntax but not getting what I am looking for:
% grep `date '+%d/%b/%Y'`
For instance there are 2 files generated today with same data. I am trying to find them and... (21 Replies)
Discussion started by: DallasT
21 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have to grep a word 'XYZ' from 900 files ( from 2007 till date), take its count month wise. The output should display month, count , word 'XYZ' .
I tried searching the forum for solution but could find any.
I would apprieciate if any one can help me asap ....
Many Thanks:) (12 Replies)
Discussion started by: vikram2008
12 Replies
10. Shell Programming and Scripting
Hi
Im running a backup scriptwhich creates a log file
how do grep for the string in the logfile so the backup script can continue to next stage otherwise it will exit
i.e
12:32:53 INF - Client completed sending data for backup
12:33:02 INF - Backup by root on client lonbob04bak using... (4 Replies)
Discussion started by: eb222
4 Replies
mlmmj-recieve(1) General Commands Manual mlmmj-recieve(1)
NAME
mlmmj-recieve - recieve mails for an mlmmj managed mailinglist
SYNOPSIS
mlmmj-recieve -L /path/to/listdir [-h] [-V] [-P] [-F]
-h: This help
-F: Don't fork in the background (debugging only)
-L: Full path to list directory
-P: Don't execute mlmmj-process (debugging only)
-V: Print version
DESCRIPTION
The mlmmj-recieve binary is the one specified in the mailserver configuration file (aliases file), which writes the mail to the <list-
dir>/incoming directory and invokes mlmmj-process unless the -P option is specified. On systems using mailservers supporting the
/etc/aliases file, a line to activate an mlmmj managed mailinglist would look like this:
list: "|/usr/bin/mlmmj-recieve -L /var/spool/mlmmj/list/"
It's very important to specify the full path to the binary, or the mailinglist will not function.
When the -F option is used, it will not fork in the background. The reason it forks is that if delivery of a mail takes longer time than
the mail server will allow a command to be idle before presumed dead, the mail server would kill it.
SEE ALSO
mlmmj-process(1)
AUTHORS
This manual page was written by the following persons:
Soren Boll Overgaard <boll@debian.org> (based on html2man output)
Mads Martin Jorgensen <mmj@mmj.dk>
mlmmj-recieve September 2004 mlmmj-recieve(1)