![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#6 | |
Watch
![]() Join Date: Apr 2021
Posts: 16
Downloads: 37
Uploads: 0
|
![]() Quote:
Here's another oneliner to help you out: Code:
grep -r "mm\.dd\.yyyy" -A 1 If you want, I've downloaded ~67gb of Radio files from various mod sources. I could upload them somewhere in chunks. All the work is already done, all you'd have to do is download them. Code:
grep -r "\.yyyy" -A 1 examples: Code:
$ grep -r "06\.12\.1941" -A 1 KGMB/Events/events.ini:StartDate=06.12.1941 KGMB/Events/events.ini-StartTime=19.30.00 -- KLVW/1941/Events/events.ini:StartDate=06.12.1941 KLVW/1941/Events/events.ini-StartTime=17.00.00 -- KNX/1941/Events/events.ini:StartDate=06.12.1941 KNX/1941/Events/events.ini-StartTime=15.45.00 $ grep -r "\.1939" -A 1 DHB/Events/events.ini:StartDate=12.09.1939 DHB/Events/events.ini-StartTime=12.00.00 -- DHB/Events/events.ini:StartDate=01.10.1939 DHB/Events/events.ini-StartTime=12.00.00 -- DHB/Events/events.ini:StartDate=01.11.1939 DHB/Events/events.ini-StartTime=12.00.00 ... ... in the oneliner: -A 1 gets you the "following line" -B 1 gets you the "preceding line" -C 1 gets you BOTH. increase the number to get more than just the next/previous lines. Last edited by Ataraxzy; 07-20-22 at 02:41 PM. |
|
![]() |
![]() |
Tags |
events, radio, scripts, sound mods |
Thread Tools | |
Display Modes | |
|
|