-1
我需要一些幫助,從每隔4行減去來自下一個日期的每第3行的每個日期。請參閱下面的文件部分..外殼腳本來分開日期
Name: John
Category: Subscriber
4/6/14 8:00 PM
4/6/17 7:59 PM
Name: Hari
Category: Owner
4/22/13 6:29 AM
6/21/32 6:29 AM
Name: Bob
Category: Subscriber
9/9/14 8:00 PM
9/9/17 7:59 PM
生成的文件應該是:
Name: John
Category: Subscriber
4/6/14 8:00 PM
4/6/17 7:59 PM
valid for 1095 days
Name: Hari
Category: Owner
4/22/13 6:29 AM
6/21/32 6:29 AM
valid for 7361 days
Name: Bob
Category: Subscriber
9/9/14 8:00 PM
9/9/17 7:59 PM
valid for 1095 days
顯示你嘗試過,或者你有什麼想法 –