2013年8月7日 星期三

Linux remove code previous number

we use the sed to replace the number is code
the first character can be space one number, the two number may a number

sed 's/^[ 0-9]*[0-9]//g' code.java





Reference
Sed RE pattern

沒有留言:

張貼留言