hi,
i have two files.
file1.sh
echo "unix"
echo "linux"
file2.sh
echo "unix linux forums"
now the output i need is
$./file2.sh
unix linux forums
$
$./file1.sh
unix
linux
unix linux forums
$
i want extract that line in file2.sh and add it to first line and also execute that one.
i need following
$vi file1.sh
echo "unix"
echo "linux"
<script to exarct and execute some lines from file2>