The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
processing line in file
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
processing line in file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
01-17-2006
fablef00
Registered User
Join Date: Jan 2006
Posts: 3
I just tried this and it seems I have a lead now.
cat /etc/hosts | while q=$(line); do echo $q; done
but feel free to give sugestions on how I should handle the logic with checking the if the file structure exists.
Cheers
fable00
fablef00
View Public Profile
Find all posts by fablef00
Find fablef00's past nominations received
Find fablef00's present nominations given