Link to home
Start Free TrialLog in
Avatar of dryzone
dryzone

asked on

bash programming problem

Take the following clear example.

Create file1 and 2 containing some single line strings and test them with cat.
[root@gateway root]# echo "BlaBlaBla" >file2
[root@gateway root]# cat file2
BlaBlaBla

[root@gateway root]# echo "BooBooBoo" >file1
[root@gateway root]# cat file1
BooBooBoo

Now If i try the logical solution to string the contents of two files tgether by doing;

[root@gateway root]# cat file1 file2 >file3
      [root@gateway root]# cat file3
      BooBooBoo
      BlaBlaBla
      [root@gateway root]#

      Which is not what I want! I want;
      BooBooBooBlaBlaBla

How do I get the latter ??????????????

Please help I need to get this spooler going!!!!!!!!!!!!!
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial