mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
return: add Spanish translation (#15359)
* return: add Spanish translation * Update return.md --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
f0dde99993
commit
f39d254d8c
1 changed files with 12 additions and 0 deletions
12
pages.es/common/return.md
Normal file
12
pages.es/common/return.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# return
|
||||
|
||||
> Sale de una función o un script si se ejecuta con `source`.
|
||||
> Más información: <https://www.gnu.org/software/bash/manual/bash.html#index-return>.
|
||||
|
||||
- Sale prematuramente de una función:
|
||||
|
||||
`{{nombre_de_la_función}}() { {{echo "Se ha alcanzado"}}; return; {{echo "No se ha alcanzado"}}; }`
|
||||
|
||||
- Especifica el valor de retorno de la función:
|
||||
|
||||
`{{nombre_de_la_función}}() { return {{N}}; }`
|
Loading…
Add table
Reference in a new issue