Reply to comment

Anonymous's picture
crapcode (visitor) says:
if [[ $chapter -ne 0 && ${#chapter} -lt 3 ]]; then
  chapter=`echoes "0" ${#chapter} 2`$chapter
fi

syntax error: invalid arithmetic operator (error token is ".4")

กรณี ชื่อไฟล์เป็น ทศนิยมเช่น 70.4 แล้วมันก็จะไม่เติมศูนย์ข้างหน้าให้ครับ

Reply

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.