(2004-06の一覧)
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

2004-06-24 Thu (他の年の同じ日: 2005 2006)

5.005 で、glob の対象が多すぎるとでるアレ
2004-06-24-1 / カテゴリ: [programming][perl] / [permlink]

miyazaki@nwmail:~/work$ cat -n pick.pl
     1  #!/usr/bin/perl
     2
     3  @list = <imail/queue/deferred/SMTP-Deliver/*/*/*/*-Control>;
     4
     5  print "hoge\n";
miyazaki@nwmail:~/work$ ./pick.pl
glob failed (child exited with status 1) at ./pick.pl line 3.
hoge
miyazaki@nwmail:~/work$ /usr/bin/csh
nwmail:~/work% echo imail/queue/deferred/SMTP-Deliver/*/*/*/*-Control
引数が長すぎます。
nwmail:~/work% echo $status
1
nwmail:~/work% setenv LANG C
nwmail:~/work% echo imail/queue/deferred/SMTP-Deliver/*/*/*/*-Control
Arguments too long
nwmail:~/work% echo $status
1
nwmail:~/work% /usr/local/bin/tcsh
nwmail:~% echo imail/queue/deferred/SMTP-Deliver/*/*/*/*-Control
^C
nwmail:~% echo imail/queue/deferred/SMTP-Deliver/*/*/*/*-Control | wc -l
     1
nwmail:~% echo imail/queue/deferred/SMTP-Deliver/*/*/*/*-Control | more
imail/queue/deferred/SMTP-Deliver/0/aaa0example.org/0/22518.9208984375-Control ...
(1行で出力されるよん)
前の日 / 次の日 / 最新 / 2004-06

2013 : 01 02 03 04 05 06 07 08 09 10 11 12
2012 : 01 02 03 04 05 06 07 08 09 10 11 12
2011 : 01 02 03 04 05 06 07 08 09 10 11 12
2010 : 01 02 03 04 05 06 07 08 09 10 11 12
2009 : 01 02 03 04 05 06 07 08 09 10 11 12
2008 : 01 02 03 04 05 06 07 08 09 10 11 12
2007 : 01 02 03 04 05 06 07 08 09 10 11 12
2006 : 01 02 03 04 05 06 07 08 09 10 11 12
2005 : 01 02 03 04 05 06 07 08 09 10 11 12
2004 : 01 02 03 04 05 06 07 08 09 10 11 12

最終更新時間: 2013-05-02 16:12