Pada 23-Dec-2003, aqil menulis: > Pada 23-Dec-2003, Ronny Haryanto menulis: > > On 23-12-2003 3:11 PM Ronny Haryanto wrote: > > > > > Pake backtick (biasanya di sebelah kiri angka 1 di keyboard). Misalnya: > > > > > > somecommand > output-`date +%e`.log > > > > Sorry, kalo redirection mesti pake ".." supaya gak bingung, jadi: > > > > somecommand > "output-`date +%e`.log" > > Hmm ya... ini juga ok: > > $ cp file1 > file2 "file2.`date +%e`" > $ ls |grep file > file1 > file2.23 > > Kalau seperti di bawah ini, ada error dikit, tapi tetep ke-copy: > $ cp file1 > "file5.`date +%e`" > cp: missing destination file > Try `cp --help' for more information. > > $ ls|grep file > file1 > file2.23 > file5.23
dan ini juga ok nih: $ cp file1 file2 > "file2.`date +%e`" -- Berhenti langganan: [EMAIL PROTECTED] Arsip dan info: http://linux.or.id/milis.php
