トップ «前の日記(2008-08-09(Sat)) 最新 次の日記(2008-08-11(Mon))» 編集

屑俺日記

僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。


2008-08-10(Sun) 晴れ

coreutils-6.12

./configure && makeした後、 Plamo-4.22 に入ってない分だけインストール。

#!/bin/sh
for file in `/bin/ls|grep -v "\."` 
do   `which $file >&/dev/null`
  if [ "$?" = "1" -a  -x $file ]; then
    strip $file
    install -m755 $file /usr/bin/$file
  fi
done

そして man も。
これは全部叩き込んでもいいだろう。

#!/bin/sh
for file in *.1
  do gzip  $file
  install -m644  ${file}.gz /usr/share/man/man1
done

それから doc/coreutils.info も圧縮インストール。

expect(1)

てけとーにmanしただけでは、効能書き意外よーわからん。

$ echo 'send_user "hello,expect\n"' | expect -d -
expect version 5.43.0
argv[0] = expect  argv[1] = -d  argv[2] = -  
set argc 0
set argv0 "expect"
set argv ""
executing commands from command file
hello,expect

リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。

index.htmlは ここから。