-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix0s.py (#30): started hotfix0s.py
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env python3 | ||
# ============================================================================== | ||
# | ||
# FILE: hotfix0s.py | ||
# | ||
# USAGE: ./999999999/0/hotfix0s.py | ||
# ./999999999/0/hotfix0s.py --help | ||
# | ||
# DESCRIPTION: --- | ||
# | ||
# OPTIONS: --- | ||
# | ||
# REQUIREMENTS: - python3 | ||
# BUGS: --- | ||
# NOTES: --- | ||
# AUTHORS: Emerson Rocha <rocha[at]ieee.org> | ||
# COLLABORATORS: | ||
# <@TODO: put additional non-anonymous names here> | ||
# | ||
# COMPANY: EticaAI | ||
# LICENSE: Public Domain dedication or Zero-Clause BSD | ||
# SPDX-License-Identifier: Unlicense OR 0BSD | ||
# VERSION: v1.0.0 | ||
# CREATED: 2022-04-19 21:46 UTC | ||
# REVISION: --- | ||
# ============================================================================== | ||
|
||
print("TODO") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
map inrec = $*; | ||
$* = {}; | ||
for (oldkey, value in inrec) { | ||
# newkey = clean_whitespace(gsub(oldkey, "\n", " ")); | ||
newkey = gsub(oldkey, ".0", ""); | ||
$[newkey] = value; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters