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
You are working in charge of a group of programmers at a software company. Your task is to assess and research CORBA and to produce a report to be given to the programmers detailin

My kinect hand cursor only works for main menu but when it goes to another page it wouldn''t work.. especially when there is for camera feed

The program output is intended to be parsed by a script working on the log file or correlated in a spreadsheet.  Use the "csv" format (you will have to research "what" is a "csv" f

Object-oriented programming paradigm Object  Oriented  Programming  is  an  aproach  in  which  a  program  is  viewed  as  a  dynamic  network  of collaborating objects, where

Explain the Comma Operator- Computer Programming? The comma has two utilization and the most common use is as a parameter separator for data types and function parameter lists. H

Question: (a) Explain the concepts of Inheritance and Polymorphism in Lingo programming. (b) Write short descriptions on parent scripts and child objects in Lingo object

How to i write a car rental program in jgrasp

This is the programming language of the Web. It is mainly used for validating forms. JavaScript & Java can be associated to each other. There exist several other differences betwee

how to create a screen for messages for a data transmission system

ADO. NET ADO.NET (ActiveX Information Things for .NET) is a set of programs elements that developers can use to accessibility data and data solutions. It is an element of the platf