alox-jason 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- data/exec/_jason +1 -1
- metadata +1 -1
data/exec/_jason
CHANGED
@@ -36,7 +36,7 @@ function parse_command_line {
|
|
36
36
|
}
|
37
37
|
|
38
38
|
function ryaml {
|
39
|
-
ruby -ryaml -e 'def ps x; unless x.nil?; puts (x.class == String || x.class == Fixnum) ? x : x.to_yaml; end; end; ps ARGV[1..-1].inject(YAML.load(File.read(ARGV[0]))) {|acc, key| acc[acc.class == Array ? key.to_i : (m = key.match(/^:(.*)$/); m ? m[1].to_sym : key)] }' "$@" 2
|
39
|
+
ruby -ryaml -e 'def ps x; unless x.nil?; puts (x.class == String || x.class == Fixnum) ? x : x.to_yaml; end; end; ps ARGV[1..-1].inject(YAML.load(File.read(ARGV[0]))) {|acc, key| acc[acc.class == Array ? key.to_i : (m = key.match(/^:(.*)$/); m ? m[1].to_sym : key)] }' "$@" 2>&1
|
40
40
|
}
|
41
41
|
|
42
42
|
function random_str {
|