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

Re: HS: petite question bash et variable en argument d'une commande



Attention aux quotes:

#!/bin/bash
day_date="--date=1 day ago"
date "${day_date}" "+%A %d %B"

-- 
Fabrice Bauzac-Stehly
PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6
old PGP 015AE9B25DCB0511D200A75DE5674DEA514C891D


Reply to: