Hi, 

I have a bunch of .yaml files in which I would like to replace/add one value 
with a timestamp, which needs to be created from two other fields/values. I 
think this needs the help of a filter/shell script and I’d love a pointer in 
the direction of how to achieve this.

The file looks like the below and there can be other key/value pairs in between 
or even the order could vary, but that’s more unlikely: 

----

Date: 2019-01-04

----

Time: 14:00

----

Eventtimestamp: 1546596000

In most files the timestamp is empty (some might not be) and needs to be 
created from the `Date` and `Time` values. 

Thanks in advance for any help and a happy new year, 
Holger

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to