Hello people. I am trying to get a Zenity command to do something, I am almost certain this is possible. I want it to read in the list from a csv file.
When I tried separator="," or separator=, it still separates the fields on space. What am I not seeing here?
Code:
#!/bin/bash
# Replace CRLF with commas
file=$(cat test.csv| tr , '\n')
# Fill Array
item=($file)
zenity --list --title="Zenity List" --width=640 --height=480 --column="Name" --column="Phone" --column="Address" "${item[@]}"






Comment