hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit 58bb0794c235a0793418036088c9c1d1c9d7a210
parent 9409ac7e6c029193474b36516dca24db4ac15e49
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Fri, 10 Mar 2017 20:28:44 -0500

Remove a comment.

Diffstat:
Mfunctions/parse_yaml | 16----------------
1 file changed, 0 insertions(+), 16 deletions(-)

diff --git a/functions/parse_yaml b/functions/parse_yaml @@ -22,19 +22,3 @@ parse_yaml() { } }' | sed 's/_=/+=/g' } - -# parse_yaml() { -# local prefix=$2 -# local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034') -# sed -ne "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \ - # -e "s|^\($s\)\($w\)$s:$s\(.*\)$s\$|\1$fs\2$fs\3|p" $1 | -# awk -F$fs '{ -# indent = length($1)/2; -# vname[indent] = $2; -# for (i in vname) {if (i > indent) {delete vname[i]}} -# if (length($3) > 0) { -# vn=""; for (i=0; i<indent; i++) {vn=(vn)(vname[i])("_")} -# printf("%s%s%s=\"%s\"\n", "'$prefix'",vn, $2, $3); -# } -# }' -# }