@@ -375,20 +375,15 @@ view_report() {
375375 _ix_tot_quar=" 0"
376376 fi
377377 _seen_ids=" $_seen_ids $_ix_scanid "
378- local _time_display _etime _cl _quar _trunc_path
378+ local _time_display _etime _cl _quar
379379 # Strip timezone offset for column alignment
380380 _time_display=$( echo " $_ix_started_hr " | awk ' {print $1,$2,$3,$4}' )
381381 _etime=$( _session_fmt_elapsed " $_ix_elapsed " )
382382 _cl=" ${_ix_tot_cl:- 0} "
383383 [ " $_cl " = " -" ] && _cl=" 0"
384384 _quar=" ${_ix_tot_quar:- 0} "
385385 [ " $_quar " = " -" ] && _quar=" 0"
386- # Truncate path to 30 chars with ellipsis
387- _trunc_path=" ${_ix_path:- -} "
388- if [ " ${# _trunc_path} " -gt 30 ]; then
389- _trunc_path=" ${_trunc_path: 0: 27} ..."
390- fi
391- echo " $_ix_epoch | $_time_display | $_ix_scanid | $_etime | ${_ix_tot_files:- -} | ${_ix_tot_hits:- -} | $_quar | $_cl | $_trunc_path " >> " $tmpf "
386+ echo " $_ix_epoch | $_time_display | $_ix_scanid | $_etime | ${_ix_tot_files:- -} | ${_ix_tot_hits:- -} | $_quar | $_cl | ${_ix_path:- -} " >> " $tmpf "
392387 done < " $_index_file "
393388 fi
394389 # Fallback: per-file glob for sessions not in the index
@@ -400,7 +395,7 @@ view_report() {
400395 case " $_seen_ids " in * " $_sid " * ) continue ;; esac
401396 _session_read_meta " $file "
402397 if [ -n " $scanid " ] && [ " $scan_start_hr " != " -" ]; then
403- local _time_u _etime _time_display _trunc_path
398+ local _time_u _etime _time_display
404399 _time_u=$( date -d " $scan_start_hr " " +%s" 2> /dev/null)
405400 # Strip timezone offset for consistent column alignment with legacy pass
406401 _time_display=$( echo " $scan_start_hr " | awk ' {print $1,$2,$3,$4}' )
@@ -410,12 +405,7 @@ view_report() {
410405 # Count quarantined from TSV hit records
411406 local _quar
412407 _quar=$( awk -F' \t' ' !/^#/ && $3 != "" && $3 != "-" { n++ } END { print n+0 }' " $file " )
413- # Truncate path to 30 chars with ellipsis
414- _trunc_path=" ${hrspath:- -} "
415- if [ " ${# _trunc_path} " -gt 30 ]; then
416- _trunc_path=" ${_trunc_path: 0: 27} ..."
417- fi
418- echo " $_time_u | $_time_display | $scanid | $_etime | ${tot_files:- -} | ${tot_hits:- -} | $_quar | $_cl | $_trunc_path " >> " $tmpf "
408+ echo " $_time_u | $_time_display | $scanid | $_etime | ${tot_files:- -} | ${tot_hits:- -} | $_quar | $_cl | ${hrspath:- -} " >> " $tmpf "
419409 _seen_ids=" $_seen_ids $_sid "
420410 fi
421411 done
@@ -439,12 +429,8 @@ view_report() {
439429 CLEAN=" 0"
440430 fi
441431 if [ -n " $SCANID " ] && [ -n " $TIME " ]; then
442- local _trunc_path=" ${LPATH:- -} "
443- if [ " ${# _trunc_path} " -gt 30 ]; then
444- _trunc_path=" ${_trunc_path: 0: 27} ..."
445- fi
446432 # Legacy plaintext sessions have no quarantine count — show "-"
447- echo " $TIME_U | $TIME | $SCANID | $ETIME | ${FILES:- -} | ${HITS:- -} | - | $CLEAN | $_trunc_path " >> " $tmpf "
433+ echo " $TIME_U | $TIME | $SCANID | $ETIME | ${FILES:- -} | ${HITS:- -} | - | $CLEAN | ${LPATH :- -} " >> " $tmpf "
448434 fi
449435 done
450436 # Display sorted results with section header and cap
0 commit comments