68user's page ·Ç¼¨ÈÄ

Prev< No. 585> Next  [ºÇ¿·È¯¸À¤ËÌá¤ë] [²áµî¥í¥°°ìÍ÷]
No. 585 # 68user 1999/12/08 (¿å) 19:39
> ¥Ù¡¼¥¸ÇÛ¿§¤¬¡¢¥Æ¥­¥¹¥È¤¬¹õ·ÏÅý¤Ê¤¯Çò·ÏÅý¤Ç¤¢¤ë¤¿¤áÌܤ¬¾¯¡¹ÉÕ¤«¤ì¤Þ¤¹
¤Ç¤¢¤ì¤Ð
    perl -pi.bak -e 's/BGCOLOR="#575757" TEXT="#FFFFFF"/BGCOLOR=white TEXT=black/' *.html
¤Ê¤É¤¬¤ª¼ê·Ú¤Ç¤¹¡£

> ¤Þ¤Ã¤³¤³¤¤¤é¤Ï¸Ä¿ÍŪÓϹ¥¤ÎÉôʬ¤À¤È»×¤¤¤Þ¤¹¡£
Á°¤Ë¡ÖÇطʤ¬¹õ/ʸ»ú¤¬Çò¤ÇÆɤߤ䤹¤¤¡×¤È¸À¤ï¤ì¤¿¤³¤È¤â¤¢¤ê¤Þ¤¹¡£
¿Í¤Ë¤è¤Ã¤Æ¹¥¤ß¤¬°ã¤¦¤Î¤ÇÆñ¤·¤¤¤Ç¤¹¤Í¡£


> ­¡­¢
´ÝÉÕ¤­¿ô»ú¤Ïµ¡¼ï°Í¸ʸ»ú¤Ê¤Î¤Ç¡¢»È¤Ã¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£

> cksum¥³¥Þ¥ó¥É¤Ï¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤É¤¦¤¤¤Ã¤¿¥Á¥§¥Ã¥¯¤ò¹Ô¤¦¤Ç¤·¤ç¤¦¤«¡©
    http://www.jp.FreeBSD.org/cgi/cvsweb.cgi/src/usr.bin/cksum/
¤òÆɤó¤Ç²¼¤µ¤¤¡£¤Ê¤¼¤½¤¦¤¤¤¦¥³¡¼¥É¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«¤òÃÎ¤í¤¦¤È¤¹¤ë¤È
¤Û¤È¤ó¤É¿ô³Ø¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¤Î¤Ç¡¢ËͤˤÏÀâÌÀ¤Ç¤­¤Þ¤»¤ó¡£

> £Ã¸À¸ì¤«¤écksum¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤«¤±¤¿»þ¤Ë¡¢Àµ¾ï¤Ë½ªÎ»¤·¤¿¤«¡¢
> ¤â¤·¤¯¤Ï¡¢°Û¾ï½ªÎ»¤·¤¿¤«¤ÎȽÃǤϹԤ¨¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
system(3) ¤ÎÌá¤êÃͤǤ狼¤ê¤Þ¤¹¡£0 ¤Ê¤éÀµ¾ï¡¢°Û¾ï½ªÎ»¤Ê¤é
Ìá¤êÃͤò 8bit ±¦¥·¥Õ¥È¤·¤¿¤â¤Î¤¬½ªÎ»¥¹¥Æ¡¼¥¿¥¹ (cksum ¤¬
return ¤·¤¿¤ê exit ¤·¤¿ÃÍ)¡£

Prev< No. 585> Next  [ºÇ¿·È¯¸À¤ËÌá¤ë] [²áµî¥í¥°°ìÍ÷]