New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
@exussum That works fine for me and reads the first line.
That's exactly how it's supposed to be too.
is what i get. cat shows item.txt having 2 lines
looking at it now, it seems the item.txt is broken.
@exussum Try this..
something like this should work as well...
cat item.txt | while read LINE; do
echo $LINE
done < my.file