Shell script to combine 2 files horizontally and vertically, Programming Languages

W.A.S.S to combine two files horizontally and vertically.

 

Program

 

# W.A.S.S to combine two files horizontally

 

cat file1.sh file2.sh

 

Output

 

str=`date +%k`

if test $str -gt 16

then

   echo "Good Evening!"

 

else

   if test $str -gt 12

then

    echo "Good Afternoon!"

else

   echo "Good Morning!"

fi

fi

 

 

echo "Enter the no:"

read x

echo "Enter the input base:"

read i

echo "Enter the output base:"

read o

echo "output no:"

            echo  "ibase=$i;obase=$o;$x" | bc

 

 


Program

 

# W.A.S.S to combine two files vertically

 

paste file1.sh file2.sh

 

Output

 

str=`date +%k` echo "Enter the no:"

if test $str -gt 16 read x

then    echo "Enter the input base:"

   echo "Good Evening!" read i

        echo "Enter the output base:"

else    read o

   if test $str -gt 12 echo "output no:"

then    echo  "ibase=$i;obase=$o;$x" | bc

    echo "Good Afternoon!"

else

   echo "Good Morning!"

fi

fi

 

 

Posted Date: 9/26/2012 8:10:59 AM | Location : United States







Related Discussions:- Shell script to combine 2 files horizontally and vertically, Assignment Help, Ask Question on Shell script to combine 2 files horizontally and vertically, Get Answer, Expert's Help, Shell script to combine 2 files horizontally and vertically Discussions

Write discussion on Shell script to combine 2 files horizontally and vertically
Your posts are moderated
Related Questions
What is URL describe theri protocol? URL basicallt stands for uniform resource locator. A URL is a pointer to a particular resource on the Internet at a particular location.

sir can you help me visual basic 6.0 project solution

Real Distinct Eigenvalues Under this case we'll have the real, distinct eigenvalues l 1 ≠l 2 ≠l 3 a and their related eigenvectors, ?h 1 , ?h 2 and  ?h 3   are guarantee

1.  Develop an HTML code to create a Web page of blue color & display links in red color. 2.  Develop an HTML code to create a Web page which contains an image at its center.

I need an efficient and fast reverse engineer with good knowledge of assembly x86 language, strong reverse engineering skills, IDA Pro (Hex-Rays) to Linux game routine, C, C++ prog

i attached the assignment document only i need your help with following three parts: accessible areas, accessible cul-de-sacs that are all connected, entry-exit path with no in


Define The if - else - if Statement - Computer Programming? The universal form is                         if (expression 1)                         {

Write a program that will input two numbers from the keyboard and execute each of the signed and unsigned multiply and divide instructions.  For each instruction, the program shoul

The languages used in the module are of a type known as high-level languages. There is another set of languages known as low-level languages. (a) Differentiate between high-leve