-
11 年前
-
11 年前
Shell脚本 SVN导出两个版本差异文件
Shell/Python svn差异版本
#!/bin/bash #导出指定版本之间的差异文件 如100到200之间的差异则导出100(不包括)-200(包括)的所有修改 SVN_URL="svn://192.168.1.23/svn/repotest" if [ -z $2 ] && [ $1 -gt $2 ] ; then echo "You must useage like $0 old_vers…
-
11 年前
python 脚本交互输入系统命令时实现Tab补全
Shell/Python raw_input tab 补全
command_tab.py #/usr/bin/python #coding:utf8 import readline,os,commands,sys readline.set_completer_delims(' \t\n`~!@#$%^&*()=+[{]}\\|;:\'",<>/?') def allcommands(): a=commands.get…
Linux运维笔记|自动化运维攻城狮

