hello friends,

i want to align a lines in a text files through linux commands. i have given an example below. i hope you will help to me...........

Example:welcome.java

import java.util.*;
class test
{
public static void main(String arg[])
{
System.out.println("Welcome to linux forum");
}
}

i want get this file should be..........

import java.util.*;
class test
{
public static void main(String arg[])
{
System.out.println("Welcome to linux forum..");
}
}

Please help me.........