mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-23 07:59:37 +00:00
7 lines
132 B
Text
7 lines
132 B
Text
for (oldk,v in $*) {
|
|
@newk = gsub(oldk, " ", "_");
|
|
if (@newk != oldk) {
|
|
unset $[oldk];
|
|
$[@newk] = v
|
|
}
|
|
}
|