帮忙实现一个简单批处理命令 20
对于一个文档(a.txt),需要删除每一行的第1个空格及其该空格前的字符串。原始数据如下:absentnormalfalseabsentabsentabsentno_vi...
对于一个文档(a.txt),需要删除每一行的第1个空格及其该空格前的字符串。
原始数据如下:
absent normal false absent absent absent no_visit smoker
present normal false absent absent absent no_visit non_smoker
absent normal false absent absent absent no_visit smoker
处理后数据如下:
normal false absent absent absent no_visit smoker
normal false absent absent absent no_visit non_smoker
normal false absent absent absent no_visit smoker
删除每一行的第2个空格及其该空格前的字符串,数据处理后如下:
false absent absent absent no_visit smoker
false absent absent absent no_visit non_smoker
false absent absent absent no_visit smoker
我需要的.bat格式运行的dos批处理命令! 展开
原始数据如下:
absent normal false absent absent absent no_visit smoker
present normal false absent absent absent no_visit non_smoker
absent normal false absent absent absent no_visit smoker
处理后数据如下:
normal false absent absent absent no_visit smoker
normal false absent absent absent no_visit non_smoker
normal false absent absent absent no_visit smoker
删除每一行的第2个空格及其该空格前的字符串,数据处理后如下:
false absent absent absent no_visit smoker
false absent absent absent no_visit non_smoker
false absent absent absent no_visit smoker
我需要的.bat格式运行的dos批处理命令! 展开
2015-08-04
展开全部
uservo user=(uservo)voinfo;
String username=user.getUsername();
String password=user.getPassword();
System.out.println("your username is "+username);
System.out.println("your password is "+password);
List list = new ArrayList();
String username=user.getUsername();
String password=user.getPassword();
System.out.println("your username is "+username);
System.out.println("your password is "+password);
List list = new ArrayList();
追问
感谢你的回答,但你写的是Java代码。而我需要的.bat格式所用的dos批处理命令。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询