Horje
awk delimiter comma Code Example
awk delimiter comma
Just use function split in awk command to split a line into an array 'a'
using a choosen string as delimiter as for example ", " in next use case:
echo "hi, bye, hey" | awk '{split($0,a,", "); print a[3],a[2],a[1]}'




Shell

Related
Postgresql Code Example Postgresql Code Example
awk field separator Code Example awk field separator Code Example
20.04 Code Example 20.04 Code Example
terraform Code Example terraform Code Example
awk output field separator Code Example awk output field separator Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7