The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
while read loop w/ a nested if statement - doesn't treat each entry individually
.
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
:
while read loop w/ a nested if statement - doesn't treat each entry individually
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
7
(
permalink
)
12-11-2007
Perderabo
Unix Daemon
Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,124
You can't just do "mailx". mailx wants to read an email. so you need to do something like:
echo fumble | mailx
As it is now, mailx is reading from stdin and thus sucking up the rest of the file from your < ldaplist.
Perderabo
View Public Profile
Find all posts by Perderabo
Find Perderabo's past nominations received
Find Perderabo's present nominations given