ywkaras commented on issue #8527:
URL: https://github.com/apache/trafficserver/issues/8527#issuecomment-972258929


   This is the bash script I used to find the three unique cases:
   ```
   rm -rf /tmp/dir
   mkdir /tmp/dir
   mkdir /tmp/dir/link
   
   let N=0
   for I in $( seq 1 80 )
   do
     fgrep DEBUG: xyz$I/_output/*ts/*all* | sed 's/^.*DEBUG: //' >| /tmp/dir/tmp
     let F=0
     if (( N != 0 )) ; then
       for I2 in $( seq 1 $N )
       do
         cmp /tmp/dir/tmp /tmp/dir/out$I2
         if (( $? == 0 )) ; then
           ln -s /tmp/dir/out$I2 /tmp/dir/link/out$I
           let F=1
           break
         fi
       done
     fi
     if (( F == 0 )) ; then
       let N=N+1
       mv /tmp/dir/tmp /tmp/dir/out$N
       ln -s /tmp/dir/out$N /tmp/dir/link/out$I
     fi
   done
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to