A
Size: a a a
A
l
*
l
l
l
*
l
${parameter@operator}
The expansion is either a transformation of the value of parameter or information about parameter itself, depending on the value of operator. Each operator is a single letter:
Q
The expansion is a string that is the value of parameter quoted in a format that can be reused as input.
l
*
*
A
*
аᶘ
→ ./a.out '{ a: "32", { "b": 32, "c": 44 } }'
Args count: 2
arg[0] = ./a.out
arg[1] = { a: "32", { "b": 32, "c": 44 } }
аᶘ
#include <stdio.h>
int main(int argc, char **argv) {
fprintf(stdout, "Args count: %d\n", argc);
for(int i = 0; i < argc; i++) {
fprintf(stdout, " arg[%d] = %s\n", i, argv[i]);
}
return 0;
}
*
task_combine="langpack:t=$build combine{ dest:t=../lang/$proj/$proj.csv defLocLang:t=English _en { find{ path:t=\"../$proj/_en_ru\" } } _ru { find{ path:t=\"../$proj/_en_ru\" } } _de { find{ path:t=\"../$proj/_de\" } } _fr { find{ path:t=\"../$proj/_fr\" } } _jp { find{ path:t=\"../lang_tmp/$proj/_jp\" } } _ko { find{ path:t=\"../$proj/_ko\" } } _zh { find{ path:t=\"../lang_tmp/$proj/_zh\" } } }"
*
echo langpack:t=rel 'combine{' dest:t=../lang/common/common.csv defLocLang:t=English _en '{' 'find{' 'path:t="../common/_en_ru"' '}' '}' _ru '{' 'find{' 'path:t="../common/_en_ru"' '}' '}' _de '{' 'find{' 'path:t="../common/_de"' '}' '}' _fr '{' 'find{' 'path:t="../common/_fr"' '}' '}' _jp '{' 'find{' 'path:t="../lang_tmp/common/_jp"' '}' '}' _ko '{' 'find{' 'path:t="../common/_ko"' '}' '}' _zh '{' 'find{' 'path:t="../lang_tmp/common/_zh"' '}' '}' '}'
*
*
echo 'langpack:t=rel combine{ dest:t=../lang/common/common.csv defLocLang:t=English _en { find{ path:t="../common/_en_ru" } } _ru { find{ path:t="../common/_en_ru" } } _de { find{ path:t="../common/_de" } } _fr { find{ path:t="../common/_fr" } } _jp { find{ path:t="../lang_tmp/common/_jp" } } _ko { find{ path:t="../common/_ko" } } _zh { find{ path:t="../lang_tmp/common/_zh" } } }'