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)
dat_provider_init(3DAT) Direct Access Transport Library Functions dat_provider_init(3DAT)NAME
dat_provider_init - locate the Provider in the Static Registry
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include <dat/udat.h>
void
dat_provider_init (
IN const DAT_PROVIDER_INFO *provider_info,
IN const char * instance_data
)
PARAMETERS
provider_info The information that was provided by the Consumer to locate the Provider in the Static Registry.
instance_data The instance data string obtained from the entry found in the Static Registry for the Provider.
DESCRIPTION
A constructor the Registry calls on a Provider before the first call to dat_ia_open(3DAT) for a given IA name when the Provider is auto-
loaded. An application that explicitly loads a Provider on its own can choose to use dat_provider_init() just as the Registry would have
done for an auto-loaded Provider.
The Provider's implementation of this method must call dat_registry_add_provider(3DAT), using the IA name in the provider_info.ia_name
field, to register itself with the Dynamic Registry. The implementation must not register other IA names at this time. Otherwise, the
Provider is free to perform any initialization it finds useful within this method.
This method is called before the first call to dat_ia_open() for a given IA name after one of the following has occurred:
o The Provider library was loaded into memory.
o The Registry called dat_provider_fini(3DAT) for that IA name.
o The Provider called dat_registry_remove_provider(3DAT) for that IA name (but it is still the Provider indicated in the Static
Registry).
If this method fails, it should ensure that it does not leave its entry in the Dynamic Registry.
RETURN VALUES
No values are returned.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: uDAPL, 1.1, 1.2 |
+-----------------------------+-----------------------------+
|MT-Level | |
+-----------------------------+-----------------------------+
SEE ALSO dat_ia_open(3DAT), dat_provider_fini(3DAT), dat_registry_add_provider(3DAT), dat_registry_remove_provider(3DAT), libdat(3LIB),
attributes(5)SunOS 5.11 16 Jul 2004 dat_provider_init(3DAT)