您能否帮助一个可以对文件执行的命令:
输入-1:
/*
* Copyright (c) 1992-2013 Some comp, Inc and/or its affiliates. All rights reserved.
* Some comp PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
* Author: aaaa
* DateCreated: aaaa
* Last Modified By: aaaa
* Modified Time: aaaa
* File Version: aaaa
* File Path: aaaa
*/
以上所有行应删除并替换为
/*
* Copyright (c) 1992-2013 some comp, and/or its affiliates. All rights reserved.
* some comp PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
* Author: bbbb
* DateCreated: bbbb
* Last Modified By: bbbb
* Modified Time: bbbb
* File Version: bbbb
* File Path: bbbb
*/
我的意见是,首先从'/ '删除到' /'第一次出现或从文件开始删除直到*/。之后,用文件顶部的第二行替换。