diff options
Diffstat (limited to 'combine.sh')
-rwxr-xr-x | combine.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/bash -contents="$(cat slack/*.py slack.py | grep -Ev '^from (\.|slack)')" +contents="$(cat slack/*.py slack.py | grep -Ev '^from slack[. ]')" echo "$contents" | grep '^from __future__' | sort -u > combined.py echo "$contents" | grep -v '^from __future__' | grep -E '^(import|from)' | sort -u >> combined.py |