this one fixes the old school bash line that looks like this:
#!/bin/bash
to look like the more modern version:
#!/usr/bin/env bash
also renamed the directory to be vim for uhh modernity.
+++ /dev/null
-
-
-pattern that automates making changes in a lot of files with vi.
-system_config is to be changed to path_config. substitute as needed.
-
-:1,$s/system_config/path_config/g
-:wn
-
-
+++ /dev/null
-
-:1,$s/\/\*\([a-zA-Z_][a-zA-Z0-9_]*\)\*\//formal(\1)/g
-:wn
-
-
-
--- /dev/null
+
+
+pattern that automates making changes in a lot of files with vi.
+system_config is to be changed to path_config. substitute as needed.
+
+:1,$s/system_config/path_config/g
+:wn
+
+
--- /dev/null
+
+:1,$s/\/\*\([a-zA-Z_][a-zA-Z0-9_]*\)\*\//formal(\1)/g
+:wn
+
+
+
--- /dev/null
+
+use this command on any that has the old school #!/bin/bash hardcoded at the top of the file.
+although, hmmm, this actually replaces them throughout the file. hmmm.
+
+:1,$s/#!\/bin\/bash/#!\/usr\/bin\/env bash/
+
+
+