i have an input file containing: gs01.pri1.casino.sbo dns:192.168.101.21,icmp,http:302,https:200,tcp:80,tcp:443,wget
i want to split them like this: gso1.pri1.casino.sbo = $hostname dns:192.168.101.21 = $dns icmp = $icmp http:302 = $http https:200 = $https tcp:80 = $tcp1 tcp:443 = $tcp2 wget = $wget
In reply to splitting array in filehandling by khacee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |