Search Results

Search: Posts Made By: worky
2,166
Posted By worky
Thanks This was what I had cat failed_list...
Thanks
This was what I had

cat failed_list | xargs -I{} grep -w {} failed_list_check > failed_alert


fail_check=`cat failed_alert | wc -l`
if [ $fail_check != 0 ]
then

echo 'cat...
2,166
Posted By worky
Its just an 8 char barcode in a file XA123456 in...
Its just an 8 char barcode in a file XA123456 in a txt file

All I want to do is check if it already exists in that file and if it does sned out an email

--- Post updated at 10:24 AM ---

The...
2,166
Posted By worky
Shell Script to check a file
I'm required to write a simple shell script that when it runs it writes the output which is a simple barcode to a tmp flat file which I can do the bit I'm struggling with...

The next time it runs...
1,788
Posted By worky
By pass a process in a Shell Script on file size
I wish to by pass a process if the file is over a certain size?
not sure this makes sense

current bit of the script below

#if we are bypAssing the OCR
if [ $BYPASS_OCR == "Y" ] ; then
...
2,029
Posted By worky
Its solaris box? unix shell script
Its solaris box?
unix shell script
2,029
Posted By worky
Iterate through a list - checking for a duplicate then report it ot
I have a job that produces a file of barcodes that gets added to every time the job runs
I want to check the list to see if the barcode is already in the list and report it out if it is.
2,185
Posted By worky
It appears to run with no error message but it...
It appears to run with no error message but it does not update the database
2,185
Posted By worky
Update a database table in a for loop
Im trying to update an informix database table for each occurance of a head_barcode in a file called mw within a for loop


please see below - cant get the syntax correct. any help please?


...
910
Posted By worky
If statement in a shell script
Please see part of a shell script below.

#Move folder to HOT folder
echo " moving $PRE_OCR_DIR/$BATCHNAME to $HOT_FOLDER_DIR\n"
#chmod -R 777 $PRE_OCR_DIR/$BATCHNAME
mv...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 12:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy