rm.bsh
来自「用java 编写的源码开放的文本编辑器。有很多有用的特性」· BSH 代码 · 共 21 行
BSH
21 行
/** Remove the file (like Unix rm)*/bsh.help.rm = "usage: cd( path )";void rm( String pathname ) { file = pathToFile( pathname ); if ( file == null ) throw new java.io.FileNotFoundException("pathname"); if ( file.isDirectory() ) { print( pathname + "is a directory" ); return; } return file.delete();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?