When i execute the below shell script with 2 different Input files, for one of the data files (datafile1) my email message body in the outlook messes up and every thing comes up in one line. May i please know what i am doing wrong here or how to fix this? The only difference in data files is one is having an extra "s" (Farm Credit Services & Farm Credit Service). I didn't understand why that is messing up.
Shell Script:
Data File1 (dwh_StageLoadEmail.lst): 5|xxxBank|022222|Farm Credit Services, ACA |31-DEC-13|1|COMPLETED|COMPLETED
Output In Outlook:
Data File2 (dwh_StageLoadEmail.lst): 5|xxxBank|022222|Farm Credit Service, ACA |31-DEC-13|1|COMPLETED|COMPLETED
Hello all,
Can somebody please offer some advice. I'm working on a small script to list all packages on the local and remote systems and need it in the following format.
Machine Name, Package, Version
Here is what i have so far but i can't seem to get the output of the hostname to loop to... (3 Replies)
Dear readers,
I have a script that counts the number of files in particular directories in my home location and displays the output. Now I have 13 directories in my home location. I am getting the output as :
Avishek_dir 13
Kunal_dir 17
Shantanu_dir 18
Arup_dir 12
Pranabesh_dir 19
.
.... (7 Replies)
# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
How would i write a script to display permission on each folders in $PATH variable below format.
drwxr-xr-x 2 0 root 4096 Nov 24 14:51 /usr/kerberos/sbin
drwxr-xr-x 2 0... (2 Replies)
Hi,
Not a shell scripting question ,but searched a lot over google ..but no success.
How do put codes in outlook 2007 mail messages in good manner like the code tags option while posting in this forum :). Apologies if the question is very irrelevant or the solution is very simple.
Regds,... (1 Reply)
Hi;
i m running an command like;
getfacl $(find /home/fstl/testShell/ -type f -ls | awk '{print $11}')
and i m getting outpiut for all files in "testShell" folder as;
# file: home/fstl/testShell/.script1.sh.swp
# owner: root
# group: root
user:fstl:rw-
user:ajay:rw-
group:root:r--... (1 Reply)
I'm looking for a way to neaten up the out put of an ldapquery. I might get one, none, or several returns for each query; and each query consists of multiple lines. And while each return will contain the same types of info, it might be in a different order, like:
uniq: 1
ip: 192.168.2.3... (3 Replies)
Hi there. I have a very large file and I am trying to format it so that I can pull out certain pieces of data/info and report it in spreadsheet format/style.
The file has ###### which will separate each line that will be listed in the spreadsheet. Whenever I find "No" at the end of a line I want... (7 Replies)
:oi was trying to write a script to format output of a command in ksh which has output as below:
so i used :
to get
which i require at all times. But problem occurs when status part changes. above output i get when status is SU (success).If the status is IN (inactive), output of... (1 Reply)
dmispd(1M) System Administration Commands dmispd(1M)NAME
dmispd - Sun Solstice Enterprise DMI Service Provider
SYNOPSIS
/usr/lib/dmi/dmispd [-h] [-c config-dir] [-d debug-level]
DESCRIPTION
The DMI Service Provider, dmispd, is the core of the DMI solution. Management applications and Component instrumentations communicate with
each other through the Service Provider. The Service Provider coordinates and arbitrates requests from the management application to the
specified component instrumentations. The Service Provider handles runtime management of the Component Interface (CI) and the Management
Interface (MI), including component installation, registration at the MI and CI level, request serialization and synchronization, event
handling for CI, and general flow control and housekeeping.
The Service Provider is invoked from a start-up script at boot time only if contents of the DMI Service Provider configuration file
/etc/dmi/conf/dmispd.conf are non-trivial.
OPTIONS
The following options are supported:
-c config-dir Specify the full path of the directory containing the dmispd.conf configuration file. The default directory is
/etc/dmi/conf.
-d debug-level Debug. Levels from 0 to 5 are supported, giving various levels of debug information. The default is 0, meaning no debug
information is given.
If this option is omitted, then dmispd is run as a daemon process.
-h Help. Print the command line usage.
EXIT STATUS
The following error values are returned:
0 Successful completion.
1 An error occurred.
FILES
/etc/dmi/conf/dmispd.conf DMI Service Provider configuration file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsadmi |
+-----------------------------+-----------------------------+
SEE ALSO snmpXdmid(1M), attributes(5)SunOS 5.10 17 Dec 2001 dmispd(1M)