Changeset 254


Ignore:
Timestamp:
Nov 2, 2009, 11:56:17 PM (11 years ago)
Author:
zerodeux
Message:

Bugfixes: daemonize and print queue with no reason, queue listing output

Location:
jobq
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • jobq/NEWS

    r253 r254  
    22
    33    * Changed indent from 4ws to 2ws (I'm too used to id)
     4    * Fixed queue display while only requesting daemon start
     5    * Fixed queue listing (`` => $() quoting hell)
    46
    57jobq 0.6
  • jobq/jobq

    r253 r254  
    3333  ls -1rt | \
    3434  while read job; do
    35     jobt=`stat -c%y $job 2>/dev/null | cut -d. -f1`
    36     jobp=`sed 's/\\\([^\]\)/\1/g' $job 2>/dev/null`
     35    jobt=$(stat -c%y $job 2>/dev/null | cut -d. -f1)
     36    jobp=$(sed 's/\\\([^\]\)/\1/g' $job 2>/dev/null)
    3737    if [ -n "$jobp" ]; then
    38       printf "%5s %20s  %s" $job "$jobt" "$jobp"
     38      printf "%-5s %20s  %s\n" $job "$jobt" "$jobp"
    3939    fi
    4040  done
     
    173173if [ -n "$daemon" ]; then
    174174  run_daemon
     175  exit 0
    175176fi
    176177if [ $# -gt 0 ]; then
Note: See TracChangeset for help on using the changeset viewer.