Search Results

Search: Posts Made By: 6merderphaze
387,850
Posted By ghostdog74
string="abc@hotmail.com;xyz@gmail.com;uvw@yahoo.co...
string="abc@hotmail.com;xyz@gmail.com;uvw@yahoo.com"
var=$(echo $string | awk -F";" '{print $1,$2,$3}')
set -- $var
echo $1
echo $2
echo $3

output:

# ./test.sh
abc@hotmail.com...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 03:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy