Ok so I'm thinking that AWK might be the best way to go but I have run into a problem that I'm sure has a solution. Basically I don't know how to use a string with spaces. I'll elaborate a bit more on what I'd like to do. Basically the body of the emails is similar to this:
I can get AWK to give me the name of place with:
This gives me the output "Name Of Place" which is good, but the next thing I need to do is get the date and time. This info is on a line further down. I hoped that this command would work, but it doesn't:
it returns this output:
What do I need to modify so that it only gives the date and time?
Hey Guyz Just need some help regarding this.I need to send an email(sendmail) to group of users, when ever the content in a file e.g abc.txt changes.We need to send the changed content in the email.We are using bash here.Thanks for your help Guyz
--CoolKid (1 Reply)
Hi,
I am writing a shell script to pull a file from a remote server (Let say its a windows based remote server). One of my criteria is to pull a file only if it is not empty.
We have done a similar script to push a file from our end to a remote server and before pushing it we check for the... (2 Replies)
Discussion started by: sashankkrk
2 Replies
3. Forum Support Area for Unregistered Users & Account Problems
below is an extract from my file and I am trying to use Awk and grep and a while loop to pull infomation from under neath "HBA WWN=".HBA WWN=" reoccurs all over the file but the 100000c.....number are unique and I want to be able to pull and reference specifi information under this header ever time... (2 Replies)
I am hoping to get some help with a script to pull certain fields from a log file.
User update (xx6xxx P) rpt (yy6yyy B) 2010/01/20 21:36:01.298
Remote client forward start streamid 85af 2010/01/20 21:36:01.307
rpt2 (ZZ6ZZZ G) rpt1 (YY6YYY B) urcall (CQCQCQ ) mycall (W1AW)
user... (5 Replies)
I have CSV file that contains data in the format as shown below:
ABC, 67, 56, 67, 78, 89, 76, 55
PDR, 85, 83, 83, 72, 82, 89, 83
MPG, 86, 53, 54, 65, 23, 54, 75
..
..
..
..
I want to create a script that will pull out the rows from the above sheet and paste it into another CSV file.... (12 Replies)
I am attempting to write a script that will pull out NTLM hashes from a text file that contains about 500,000 lines of data. Not all accounts contain hashes and I only need the ones that do contain hashes.
Here is a sample of what the data looks like:
There are thousands of other lines in... (6 Replies)
Hello All,
I need help writing a bash script that will run on 500 LINUX servers and do the following:
1. Capture the ipa_server name from /etc/sssd/sssd.conf on a list of 500 servers in the ipahosts file.
2. Write to a file outputing only server name and IPA server name.
Root ssh keys... (3 Replies)
I/m a beginner so be easy. I have text files that live on an AIX server. The files come in and I've been charged with writing a shell script to email out that pulls the first date, and the last date of the file. I need to load these 2 dates into 2 separate variables. I can figure out the variables,... (13 Replies)
Hi all,
I'm trying to write a script to recursively cd into my Git projects and pull them, and will later expand it to build my projects as well.
I'm having a bit of trouble with my current script, as I want to supply a command line argument to tell it which branch to check out. I can hard... (2 Replies)
Discussion started by: Cows
2 Replies
LEARN ABOUT OPENSOLARIS
evolution
evolution(1) User Commands evolution(1)NAME
evolution - A personal and workgroup information management solution. An integration of mailer, calendar and addressbook clients. Sun
Microsystems Edition, Version 2.24
SYNOPSIS
evolution [--component=name] [--debug=filename] [--disable-eplugin] [--disable-preview] [--force-shutdown] [--help] [--offline] [--online]
[--usage]
DESCRIPTION
Evolution integrates email, calendar, contacts, and task list management in one application. Evolution provides full support for several
data exchange and communication standards, such as IMAP, POP, SMTP, LDAP, iCalendar, and vCard. Evolution enables tight integration with
Sun ONE Messaging and Calendar Servers and other messaging systems.
OPTIONS
The following options are supported:
-c, --component=name Start Evolution activating the specified component.
--debug=filename Send the debugging output of all components to a file specified by filename. filename is a path to a file. For
example, /tmp/Evolution is a valid value for filename.
--disable-eplugin Disable loading of any plugins.
--disable-preview Disable preview pane of Mail, Contacts and Tasks.
--force-shutdown Forcibly shut down all Evolution components.
-?, --help Display help text.
--offline Start in offline mode.
--online Start in online mode.
--usage Display brief usage text.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information.
EXAMPLES
Example 1: To start Evolution activating the Calendar component
example% evolution -c calendar
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
1 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/evolution Executable script for Evolution application
$HOME/.evolution Directory with per-user configuration files and local storage for Evolution
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWevolution |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO evolution-exchange-setup(1), libebook-1.2(3), libecal-1.2(3), attributes(5), gnome-std-options(5)NOTES
Ever since the upgrade Evolution from 1.4 to 2.x, this product includes source code for the Berkeley Database a product of Oracle Corpora-
tion. Your use of the Berkeley Database software separately from Evolution or authorized derivatives thereof is subject to additional
licensing conditions.
Per-user configuration files and local storage in Evolution 2.x are stored in $HOME/.evolution directory as opposed to $HOME/evolution
directory in Evolution 1.4. If the user had Evolution 1.4 installed on the system before, they are able to upgrade to Evolution 2.8 without
losing configuration and local data. When run for the first time, Evolution 2.x will automatically check for and import all the old config-
uration and local data owned by Evolution 1.4, and convert them to the format readable by Evolution 2.x. Users are also allowed to choose
between preserving the $HOME/evolution directory or not. If users choose to preserve configuration and local data for Evolution 1.4, they
will have to manage Evolution 1.4 and Evolution 2.8 configuration and data separately, after the one-time migration. No automatic syncing
is available for ensuring that changes made to Evolution 2.x are ported to Evolution 1.4, or vice versa.
The addressbook database formats of Evolution 2.x and Evolution 1.4 are different due to the use of different versions of Berkeley DB in
the backend. User cannot simply copy the database file from Evolution 1.4 to Evolution 2.8 in order to do the porting of addressbook.
Written by Jeff Cai, Sun Microsystems Inc., 2008.
SunOS 5.11 28 Jul 2008 evolution(1)