SQL to YAML
Should be easy with vim, or not?
Start file
(1,'cleora.baugh@example.com','2016-02-12 09:00:09',NULL), (2,'hedy.van-gossard@example.com','2016-02-12 09:00:09',NULL), (2,'bryce.steeves@example.com','2016-02-12 09:00:09',NULL), (3,'rodger.van-harland@example.com','2016-02-12 09:00:09',NULL), (3,'jami.waid@example.com','2016-02-12 09:00:09',NULL),
End file
cleora.baugh: group_id: 1 full_name: Cleora Baugh mail: cleora.baugh@example.com hedy.van-gossard: group_id: 2 full_name: Hedy van Gossard mail: hedy.van-gossard@example.com bryce.steeves: group_id: 2 full_name: Bryce Steeves mail: bryce.steeves@example.com rodger.van-harland: group_id: 3 full_name: Rodger van Harland mail: rodger.van-harland@example.com jami.waid: group_id: 3 full_name: Jami Waid mail: jami.waid@example.com
View Diff
1,5c1,20 < (1,'cleora.baugh@example.com','2016-02-12 09:00:09',NULL), < (2,'hedy.van-gossard@example.com','2016-02-12 09:00:09',NULL), < (2,'bryce.steeves@example.com','2016-02-12 09:00:09',NULL), < (3,'rodger.van-harland@example.com','2016-02-12 09:00:09',NULL), < (3,'jami.waid@example.com','2016-02-12 09:00:09',NULL), --- > cleora.baugh: > group_id: 1 > full_name: Cleora Baugh > mail: cleora.baugh@example.com > hedy.van-gossard: > group_id: 2 > full_name: Hedy van Gossard > mail: hedy.van-gossard@example.com > bryce.steeves: > group_id: 2 > full_name: Bryce Steeves > mail: bryce.steeves@example.com > rodger.van-harland: > group_id: 3 > full_name: Rodger van Harland > mail: rodger.van-harland@example.com > jami.waid: > group_id: 3 > full_name: Jami Waid > mail: jami.waid@example.com
Solutions by @Sakigw:
Unlock 3 remaining solutions by signing in and submitting your own entry