Below is a part of script which gives proper output when run manually but gives incorrect output when run using cron:
sort < file1.out | uniq -ic |sort -nr> file2.out
When run on the command line, this gives a count where lines are grouped ignoring case, such as:
When running through cron, the counts are split when case varies, for example:
47 /universal/webselfservice/pdf/r60.pdf 26 /universal/webselfservice/pdf/R60.pdf
How can I get the cron output to match the command line behavior?