Windows-os txt fájl soronkénti feldolgozása

#!/bin/sh

cat ${WORKSPACE}/build/hudson/apps.txt | tr -d “\015” | while read name
do
if [ $name == “–EOF–” ]
then
break
fi
echo “Line: ” $name
done

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.