#!/bin/bash INFILE=output.txt #replace the double quote with space LIST=$(sed -e 's/\"/ /g' $INFILE) zip archive.zip $LIST exit 0