Sponsored Content
Top Forums Shell Programming and Scripting Grep multiple instances and send email. Post 302541082 by saisneha on Friday 22nd of July 2011 05:59:03 PM
Old 07-22-2011
Removed

Last edited by saisneha; 07-24-2011 at 04:31 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win)

Hi A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as " usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies

2. Shell Programming and Scripting

Using mailx to send email to multiple users.

Hi, I am using the mailx command to send email to multple users. The command works fine when i am sending mail to a single user but when i insert multiple email ids inside the quote it does not work. All the email ids are coming from a property file.Please have a lookt at the property file and... (4 Replies)
Discussion started by: priyaksingh
4 Replies

3. UNIX for Dummies Questions & Answers

to send email to multiple users

hi, i'm pretty new to this unix. i've been asked to create a shell script which will pick up the email id from a text file(stored in same machine, same directory) searches for that id in another file in which a product name( a one line text) is mentioned against it. then it should send a mail... (0 Replies)
Discussion started by: vishwas.shenoy
0 Replies

4. Shell Programming and Scripting

Grep with multiple instances of same pattern

Hi, This is my text file I'm trying to Grep. Apple Location Greenland Rdsds dsds fdfd ddsads http Received Return Immediately Received End My Grep command: grep only--matching 'Location.*Received' e. Because the keyword Received appears twice, the Grep command will stop at the last... (0 Replies)
Discussion started by: spywarebox
0 Replies

5. Shell Programming and Scripting

Grep with multiple instances of same pattern

Hi, This is my text file I'm trying to Grep. Apple Location Greenland Rdsds dsds fdfd ddsads http Received Return Immediately Received End My Grep command: grep only--matching 'Location.*Received' Because the keyword Received appears twice, the Grep command will stop at the last... (3 Replies)
Discussion started by: spywarebox
3 Replies

6. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

7. Programming

Control multiple program instances - open multiple files problem

Hello. This shouldn't be an unusual problem, but I cannot find anything about it at google or at other search machine. So, I've made an application using C++ and QtCreator. I 've made a new mime type for application's project files. My system (ubuntu 10.10), when I right click a file and I... (3 Replies)
Discussion started by: hakermania
3 Replies

8. Shell Programming and Scripting

How to send email with multiple attachments ?

Hello , I am trying to send an email with two attachments . I have tried all previous suggestion in this forum but none worked. I could send one attachment in an email by uuencode $file "$file" | mailx -m -s "File" xxx@xx.com but unable to send multiple attachments . I have tried ... (8 Replies)
Discussion started by: RaviTej
8 Replies

9. Shell Programming and Scripting

How do I use grep to pull incremental data and send to multiple files?

Hi Everyone, Im currently using the below code to pull data from a large CSV file and put it into smaller files with just the data associated with the number that I "grep". grep 'M053' test.csv > test053.csv Is there a way that I can use grep to run through my file like the example below... (6 Replies)
Discussion started by: TheStruggle
6 Replies

10. Shell Programming and Scripting

Loop multiple directory, find a file and send email

Hello ALL, need a BASH script who find file and send email with attachment. I have 50 folders without sub directories in each generated files of different sizes but with a similar name Rp01.txt Rp02.txt Rp03.txt ...etc. Each directors bound by mail group, I need a script that goes as... (1 Reply)
Discussion started by: penchev
1 Replies
aels(1) 																   aels(1)

NAME
aels - annotated directory listing SYNOPSIS
aels [ option... ][ filename... ] aels -Help aels -VERSion DESCRIPTION
The aels command is used to list information about the files and directories named on the command line. If no files are named, the cur- rent directory is listed. The view presented is from Aegis' perspective. It unifies the development directory with the baseline. OPTIONS
The following options are understood: -Recursive -LOng This option implies the -Show-Mode, -Show-Attributes, -Show-User, -Show-Group, -Show-Size and -Show-When options, unless explic- itly overridden. -Show-Dot-Files This option may be used to show files starting with a dot (.). -Hide-Dot-Files This option may be used to hide files starting with a dot (.). This is the default. -Show-Removed-Files This option may be used to include removed files in the listing. -Hide-Removed-Files This option may be used to exclude removed files from the listing. This is the default. -Show-Mode This option may be used to include the mode column in the listing. The mode column indicates the file type and permissions. -Hide-Mode This option may be used to exclude the mode column from the listing. This is the default. -Show-Attributes This option may be used to include the attributes column in the listing. The attributes column indicates whether the file is part of the change, the project or neither; whether the file is being created, modified or removed; whether the file is a source file, a test file, or neither. This is the default. -Hide-Attributes This option may be used to exclude the attributes column from the listing. -Show-User This option may be used to include file owner information in the listing. -Hide-User This option may be used to exclude file owner information from the listing. This is the default. -Show-Group This option may be used to include file group information in the listing. -Hide-Group This option may be used to exclude file group information from the listing. This is the default. -Show-Size This option may be used to include file size information in the listing. -Hide-Size This option may be used to exclude file size information from the listing. This is the default. -Show-When This option may be used to include the file modification time in the listing. -Hide-When This option may be used to exclude the file modification time from the listing. This is the default. -Help This option may be used to obtain more information about how to use the aels program. See also aegis(1) for options common to all aegis commands. All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters. All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important. For example: the arguments "-project, "-PROJ" and "-p" are all interpreted to mean the -Project option. The argument "-prj" will not be understood, because consecutive optional characters were not supplied. Options and other command line arguments may be mixed arbitrarily on the command line, after the function selectors. The GNU long option names are understood. Since all option names for aels are long, this means ignoring the extra leading '-'. The "--option=value" convention is also understood. EXIT STATUS
The aels command will exit with a status of 1 on any error. The aels command will only exit with a status of 0 if there are no errors. ENVIRONMENT VARIABLES
See aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's project_specific field for how to set environment variables for all commands executed by Aegis. SEE ALSO
ls(1) list directory contents aefind(1) search for files in directory hierarchy ael cf List change files. ael pf List project files. COPYRIGHT
aels version 4.24.3.D001 Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter Miller The aels program comes with ABSOLUTELY NO WARRANTY; for details use the 'aels -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'aels -VERSion License' command. AUTHOR
Peter Miller E-Mail: millerp@canb.auug.org.au //* WWW: http://www.canb.auug.org.au/~millerp/ Reference Manual Aegis aels(1)
All times are GMT -4. The time now is 02:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy