|
# A Perforce Label Specification.
#
# Label: The label name.
# Update: The date this specification was last modified.
# Access: The date of the last 'labelsync' on this label.
# Owner: The user who created this label.
# Description: A short description of the label (optional).
# Options: Label update options: locked or unlocked.
# Revision: Optional revision specification to make an automatic label.
# View: Lines to select depot files for the label.
#
# Use 'p4 help label' to see more about label views.
Label: tseet44
Update: 2007/07/24 10:36:48
Access: 2007/05/18 17:11:27
Owner: perforce
Description:
Created by perforce.
Options: unlocked
View:
//sample/...
想通过sed讲上面的Options: unlocked这行[中间的一个或多个空格不会匹配啊]。替换成Options: locked
sed 's/^Options: *unlocked/Options: locked/g'
这句话不好用啊
谢谢 |
|