#!/bin/bash for i in `cat services`; do echo "teste $i | tr [:upper:] [:lower:]" ; done Também funciona ;)