mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-10-28 13:09:58 -04:00
port-jobs: Added script for converting between spaces and tabs
Former-commit-id: d3a1fcfcc5d9ddacfdbb3bae7726f978380e70ac Former-commit-id: ab8e4e01699bbe2e98e33d11e24cce9aedf20a9e
This commit is contained in:
1 parent
92f26c47af
commit
8a0dd91201
2 files changed
+16
No files matched your search
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
if [ "$1" = 'TABS' ]; then
|
||||
unexpand -t 4 working/sshyp.py > working/sshyp.py.new
|
||||
unexpand -t 4 working/sshync.py > working/sshync.py.new
|
||||
else
|
||||
expand -t 4 working/sshyp.py > working/sshyp.py.new
|
||||
expand -t 4 working/sshync.py > working/sshync.py.new
|
||||
fi
|
||||
mv working/sshyp.py.new working/sshyp.py
|
||||
mv working/sshync.py.new working/sshync.py
|
||||
chmod +x working/sshyp.py working/sshync.py
|
||||
Reference in new issue
Block a user