julia 1.10.10
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 343 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia 1.10.9
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 343 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1692 页 | 6.34 MB | 3 月前3Julia v1.9.4 Documentation
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 340 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1644 页 | 5.27 MB | 1 年前3Julia 1.9.0 DEV Documentation
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 339 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1633 页 | 5.23 MB | 1 年前3Julia 1.9.3 Documentation
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 340 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1644 页 | 5.27 MB | 1 年前3Julia 1.9.0 rc2 Documentation
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 340 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1644 页 | 5.27 MB | 1 年前3Julia 1.10.0 DEV Documentation
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 342 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1678 页 | 5.95 MB | 1 年前3Julia 1.9.2 Documentation
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 340 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1644 页 | 5.27 MB | 1 年前3Julia 1.9.1 Documentation
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 339 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1643 页 | 5.27 MB | 1 年前3Julia 1.9.0 beta2 Documentation
it becomes necessary to use quotes. Here's a simple example of a Perl one-liner at a shell prompt: sh$ perl -le '$|=1; for (0..3) { print }' 0 1 2 3 The Perl expression needs to be in single quotes other instances, you may want to use double quotes so that interpolation does occur: sh$ first="A" sh$ second="B" sh$ perl -le '$|=1; print for @ARGV' "1: $first" "2: $second" 1: A 2: B In general, PROGRAMS 340 And the env keyword allows you to set execution environment variables: julia> run(Cmd(`sh -c "echo foo \$HOWLONG"`, env=("HOWLONG" => "ever!",))); foo ever! See Cmd for additional keyword0 码力 | 1637 页 | 5.25 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9