Search Results

Search: Posts Made By: thummi9090
6,602
Posted By jim mcnamara
Your variables are numbers. if [ $Tgt_count...
Your variables are numbers.

if [ $Tgt_count -eq $Source_Count ] ; then
echo "Source Record Count is EQUAL to Target Record Count"
exit 0
else
echo "Source Record Count is NOT EQUAL...
4,850
Posted By Yoda
#!/bin/ksh ...
#!/bin/ksh

Src_Path="/mac/dev/Generic/SrcFiles"

line_count=$( wc -l < "${Src_Path}/FILE_JUNE.txt" )

echo "Record Count of FILE_JUNE.txt is : $line_count"
Showing results 1 to 2 of 2

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