Add a bit more informative comment in it

parent f56db443
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# Simple tool to list dependencies in form suitable for tsort utility. # Simple tool to list dependencies in form suitable for tsort utility.
# Run this script like this: # Run this script like this:
# /some/path/list-dependencies-from-patches.sh *.sql # /some/path/list-dependencies-from-patches.sh *.sql | tsort | tac
# To get patches in order that satisfies dependencies while loading them.
grep -hiE '^[[:space:]]*select _v.register_patch\(' "[email protected]" | \ grep -hiE '^[[:space:]]*select _v.register_patch\(' "[email protected]" | \
sed 's/^[^(]*(//' | while read LINE sed 's/^[^(]*(//' | while read LINE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment