#! /bin/bash
################################################
##Author: freeking
##Created: Jan 13th 2013
##Description useage of util
###############################################
path="$PATH:"
# echo $path
until [ -z $path ]
do
#echo ${path%%:*} #get the first ":" path
path=${path#*:} #delete the first ":" path
echo $path
sleep 1
done
################################################
##Author: freeking
##Created: Jan 13th 2013
##Description useage of util
###############################################
path="$PATH:"
# echo $path
until [ -z $path ]
do
#echo ${path%%:*} #get the first ":" path
path=${path#*:} #delete the first ":" path
echo $path
sleep 1
done