Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 1 of 1) sorted by relevance

/samples/pktgen/
Dfunctions.sh184 local sep=: sep2=::
185 local sep_cnt=$(tr -cd $sep <<< $1 | wc -c)
194 shrink=( $(egrep -o "$sep{2,}" <<< $addr) )
202 [[ ${addr:0:1} == $sep ]] && addr=0${addr}
203 [[ ${addr: -1} == $sep ]] && addr=${addr}0
216 local addr sep
229 [[ $IP6 ]] && sep=: || sep=.
230 IFS=$sep read -a addr <<< $net
277 local ip sep
280 [[ $IP6 ]] && sep=: || sep=.
[all …]