package com.dw.lib.test;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class SplitPath {

	public static void main(String[] args)
	{
		// TODO Auto-generated method stub
		String FILENAME = "/Users/ewu/dev/mysql/mysql-5.7.18/files.txt";
		try {

			BufferedReader br = new BufferedReader(new FileReader(FILENAME));

			String sCurrentLine;

			while ((sCurrentLine = br.readLine()) != null) {
				//System.out.println(sCurrentLine);
				String[] str = sCurrentLine.split("/");
				System.out.println(str[str.length - 1] + ":.");
			}

		} catch (IOException e) {
			e.printStackTrace();
		}

	}

}

@@ -382,17 +382,36 @@
 ntLine;%0A
+%09%09%09int counter = 0;
 %0A
-
 %09%09%09while
@@ -561,16 +561,29 @@
 println(
+%22br s -f %22 + 
 str%5Bstr.
@@ -601,10 +601,247 @@
  + %22
-:.
+ --match-declaration-file --func-regex .*%22);%0A%09%09%09%09counter++;%0A%09%09%09%7D%0A%09%09%09%0A%09%09%09for(int i=1;i%3C=counter;i++) %7B%0A%09%09%09%09System.out.println(%22br com add %22 + i);%0A%09%09%09%09System.out.println(%22bt%22);%0A%09%09%09%09System.out.println(%22continue%22);%0A%09%09%09%09System.out.println(%22DONE
 %22);%0A

add java auto generate script for lldb