import java.io.*; public class Galja{ public static void main(String arg[]) throws IOException{ String st,b,fa,sl,v; PrintWriter ekran=new PrintWriter(System.out, true); BufferedReader vvod=new BufferedReader ( new InputStreamReader(System.in)); ekran.println("Sisastage palun faili nimi."); fa=vvod.readLine(); ekran.println("Sisastage palun vaadeldav taht."); sl=vvod.readLine(); b=sl.substring(0,1); RandomAccessFile f=new RandomAccessFile(fa, "r"); st=f.readLine(); v=""; while(st!=null){ for(int n=1;n