diff --git a/run b/run index 3440088a0..0883eccef 100755 --- a/run +++ b/run @@ -78,23 +78,23 @@ filter_secrets() { sed -n 's:^\(.*/\)\?\(secrets/.*\):'"${PWD//:/\\:}"'/\2:p' } -# import_statements : lines (path ": " string) |> lines (path ": " relpath) +# import_statements : lines (path ":" string) |> lines (path ":" relpath) import_statements() { sed -n ' - s@^\([^:]\+: \)\('"$(bre_invert_word import)"'\)*\ lines path +# slash_path_relpath : lines (path ":" relpath) |> lines path # # Example: "/foo/bar: baz" => "/foo/baz" # slash_path_relpath() { - sed -n 's@/[^/]\+: @/@p' + sed -n 's@/[^/]\+:@/@p' } # undot_paths : lines path |> lines path