I have an ldif file that I am cleaning up in order to import in into Oracle OID which is Oracles LDAP. It has to be in a specific format in order to load. Another problem I am getting stuck at is there is an LDAP attribute the I need to add to each of the 100,000 employees. I need to add cn...
I am new to scripting and I have an ldif file that I am cleaning up in order to import in into Oracle OID which is Oracles LDAP. It has to be in a specific format in order to load. The problem I am getting stuck at is there are some instances where there is more than one mail address listed for...
Here is an example of post_record_counts:
462374 zmm01.in
45779 bkpf.in
202700 bseg.in
61862 eban.in
61706 ebkn.in
183445 ekbe.in
1121484 eket.in
205775 ekkn.in
29970 ekko.in
The first field is Word Count and the Second Field is File name. I am trying to loop through that file using the second...
Thanks Ed,
You can probably tell I'm new at this. The FAQ definately got me much closer. This is what I used for the variable now:
for SAPfile in `cut -f 2 -d ' ' post_record_counts`
do
preCNT=`awk '/{print"'"$SAPfile"'"}/' pre_record_counts|cut -f 1 -d ' '`;export preFile
done
Here is an...
I am attempting to compare wc -l in multiple files to validate todays wc -l is greater than yesterdays. Here is what I was experimenting with:
#!/bin/ksh
---------------
# Compare the record count file by file to make sure we did not receive less
---------------#
if [[ -a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.