#!/bin/bash cat qmq.txt |while read line; do content="$line" echo "${content}" |base64 -d |gunzip done