Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

MSR: replace grep -P with sed #1301

Closed
wants to merge 5 commits into from

Conversation

tom-wa
Copy link
Contributor

@tom-wa tom-wa commented Jan 30, 2017

Purpose

replaced grep -P with sed

@tom-wa tom-wa mentioned this pull request Jan 30, 2017
4 tasks
@markus2330 markus2330 mentioned this pull request Jan 30, 2017
4 tasks
Copy link
Contributor

@markus2330 markus2330 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanssecours Are the string concatenation problems fixed now, too?

@@ -101,7 +101,7 @@ sudo kdb mount main.ini /examples/conditionals ni
sudo kdb mount sub.ini /examples/conditionals/sub ini

# mount conditionals as global plugin
sudo kdb global-mount conditionals
sudo kdb global-mount conditionals || $(exit 0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added #1306 to revert this later

@@ -113,9 +113,9 @@ EOF
echo "key = false" > `kdb file /examples/conditionals/sub`

# should fail and yield an error
kdb export /examples/conditionals ini
#> sub/key = false
kdb export /examples/conditionals simpleini
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should avoid simpleini, it currently does not work on macOS. (In particular such a change is strange in a PR attempting to do macOS fixes 😆) Any reason why you used it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, didn't know that.
i changed it to simpleini because it's easier to read in tutorial after ini started to support metakeys (the metakey would be printed to stdout too)
i could add a nometa flag to ini though.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanssecours said he will add a simpleini replacement for MacOS. #701

We should not make ini even more complicated.

@@ -129,9 +129,9 @@ kdb export /examples/conditionals ini
kdb set /examples/conditionals/sub/key true

# should succeed
kdb export /examples/conditionals ini
#> sub/key = true
kdb export /examples/conditionals simpleini
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again

@markus2330
Copy link
Contributor

Thank you!

Already merged as part of #1456

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants