I'm having a problem passing a sanity check, when combining a split file back to its original state even if it tarred with atime-preserve. Example below.filename=FILENAMEnewfilename=FILENAME2md5precheck=$(md5sum $filename|awk '{print $1}')split -b 3276800 -d $filename $filename.cat $filename.* > $newfilenamemd5postcheck=$(md5sum $newfilename|awk '{print $1}')if [ $md5precheck == $md5postcheck ]then    echo MD5 integrity check successfulelse    echo MD5 integrity check FAILEDexit 1fi
Sanity check (MD5 sums) fails after joining a file
cat;split
@veggieVampirePlease always debug script with 'sh -x bash_script.sh' , I fount when the script runs on bash it send command like following.+ cat 'FILENAME.*' cat: FILENAME.*: No such file or directory  use sh -c cat $filename.* > $newfilename  on 5th line insted of cat $filename.* > $newfilenameAnd again this script cannot be use for text file because when we use 'split' command.All the text lines were spliting to each file in a sluggesh manner. If you cat the file you can see that.Thanks.