shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Comandos em variáveis executados dinamicamente


From: Raul Libório
Subject: Re: [shell-script] Comandos em variáveis executados dinamicamente
Date: Thu, 23 Jun 2016 00:42:23 -0300


On Wed, Jun 22, 2016 at 9:06 PM, address@hidden [shell-script] <address@hidden> wrote:
# Data="" +%d-%m-%Y+%T'

Esse modelo funciona bem quando não tem espaçamento na formatação do date, mas, por exemplo, eu preciso dos formatadores "%d-%m-%Y %T" (com um espaço antes do %T). Aí o bicho pegou e recorri ao uso de funções.

Raul Libório
http://rauhmaru.blogspot.com/
openSUSE Member | Linux User #4444581

/etc/httpd/conf.d/ssl.conf:7
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]