#!/bin/bash

_DT=$(date +%Y:%m:%d:%H:%M:%S)
echo "// __ \$_DT: $_DT"
SavedIFS="$IFS"
IFS=":"
_dpvals_arr=( $_DT ) # date place values
echo "// __ total numbers: ${#_dpvals_arr[@]}"

for _dp in "${_dpvals_arr[@]}"
do
  echo "$_dp"
done
IFS="$SavedIFS"

~
 lbrtchx


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cafakbwj1yz8usc1wnnwyzte6htgj6eaaztsdoehgtezwnv7...@mail.gmail.com

Reply via email to