élargez pleinement les arguments

This commit is contained in:
ktyl 2022-04-19 22:02:02 +01:00
parent bf8209fa30
commit 97739e4327
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,6 @@
#!/usr/bin/env bash
argos-translate --from-lang fr --to-lang en "$@"
# fully expand arguments
phrase=$@
argos-translate --from-lang fr --to-lang en "$phrase"

View File

@ -1,3 +1,6 @@
#!/usr/bin/env bash
argos-translate --from-lang en --to-lang fr "$@"
# fully expand arguments
phrase=$@
argos-translate --from-lang en --to-lang fr "$phrase"