The UNIX and Linux Forums
>
OS Specific Forums
>
AIX
Help with scripting
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device"
421 service not available, remote server has closed connection
^m
ascii eof
autosys
awk trim
bash eval
bash exec
bash for loop
bash subroutine
boot: cannot open kernel/sparcv9/unix
close_wait
curses.h
dead.letter
find grep
grep multiple lines
grep or
grep recursive
grep unique
inappropriate ioctl for device
logrotate.conf
lynx javascript
mailx attachment
make: fatal error: command failed for target `all-recursive'
mget
mtime
perl array length
ping port
read awk output into multiple variables
replace space by comma , perl script
scp recursive
segmentation fault(coredump)
sftp batch
sftp script
snoop unix
stale nfs file handle
syn_sent
tar exclude
unix
unix .profile
unix com
unix for loop
unix forum
unix forums
unix interview questions
unix memory usage
unix mtime
unix simulator
unix.com
while loop within while loop shell script
Thread
:
Help with scripting
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
05-09-2008
tagger
Registered User
Join Date: May 2008
Posts: 9
#!/bin/ksh
cat file1.txt | while read line
do
JOBNAME=$(echo ${line} | awk '{print $3}')
LINE2=$(grep -w $JOBNAME file2.txt)
echo "$line $LINE2" >> file3.txt
done
I think it 's OK
tagger
View Public Profile
Find all posts by tagger