|
[Tcl]Tool Command Language |
# 12 |
JMJS 09.7.24 14:33 |
|
================================================================
Command Evaluation Step
================================================================
¸í·ÉÀÇ Çؼ®Àº ´ÙÀ½ ¼ø¼·Î ÀϾ°Ô µË´Ï´Ù.
¸í·ÉÀ» ´Ü¾î·Î ³ª´©°í, substitutionÀ» ÇÕ´Ï´Ù
¸í·ÉÀ» ½ÇÇàÇÕ´Ï´Ù(evaluation/execution)
C¿¡¼ ´ÙÀ½ÀÇ ¹®ÀåÀº
x = 4;
y = x + 10;
Tcl¿¡¼´Â ´ÙÀ½°ú °°ÀÌ ½á¾ß ÇÕ´Ï´Ù
set x 4
set y [expr $x+10]
°¢ ¹®ÀåÀº 1¹øÀÇ parsing/substitution°úÁ¤À» °ÅÄ¡°Ô µÇ¸ç, ¿©±â¼ ´ÙÀ½°ú °°Àº ÀÏÀÌ ÀϾ´Ï´Ù.
º¯¼ö´Â $À¸·Î ½ÃÀÛÇÕ´Ï´Ù.
Àº ¾ÈÀÇ ¹®ÀåÀ» ¹ø¿ªÇÑ °á°ú¸¦ µ¹·ÁÁÝ´Ï´Ù(À§ ¿¹ Âü°í).
¹®Àå µÚÀÇ (backslash)´Â ÇöÀç ¹®Àå°ú ´ÙÀ½ ¹®ÀåÀ» Çϳª·Î ¿©±âµµ·Ï ÇÕ´Ï´Ù. ´Ü { }À¸·Î µÑ·¯½ÎÀÎ °æ¿ì¿¡´Â ÀÇ¹Ì ¾ø½À´Ï´Ù.
{ }Àº ¾ÈÀÇ ¹®ÀåÀ» substitution¾øÀÌ ³Ñ°ÜÁÝ´Ï´Ù. parser´Â ÀÌ ¾ÈÀÇ ¹®ÀåÀ» ÇϳªÀÇ ´Ü¾î·Î ¿©±â°Ô µË´Ï´Ù.
" "¾ÈÀÇ ¹®Àå ¾È¿¡¼´Â substitutionÀÌ ÀϾ´Ï´Ù.
substitutionÀº ÀϹÝÀûÀÎ °æ¿ì Çѹø¹Û¿¡ ÀϾÁö ¾Ê½À´Ï´Ù. µû¶ó¼ eval°ú °°ÀÌ parsingÀ» °Á¦ÇÏ´Â ¸í·ÉÀ» Á¦¿ÜÇÏ°í´Â ¹ø¿ªÀº Çѹø¸¸ ÀÏ¾î³´Ù°í »ý°¢ÇÏ¸é µË´Ï´Ù.
% set x [format {Earnings for July: $%.2f} $earnings]
Earnings for July: $1400.26
================================================================
ÁÖ¼®
================================================================
ÁÖ¼®¹®Àº Ç×»ó ÇàóÀ½¿¡ #À¸·Î ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì¿¡´Â #À¸·Î ½ÃÀÛÇصµ ÁÖ¼®À¸·Î ÀÎÁ¤ÇÏÁö ¾Ê½À´Ï´Ù.
================================================================
º¯¼ö
================================================================
º¯¼öÀÇ ´ëÀÔÀº set¸í·ÉÀ¸·Î ÇÕ´Ï´Ù. Tcl¿¡¼´Â º¯¼öÀÇ Å¸ÀÔÀÌ ¾ø°í, ŸÀÔÀÌ ¾øÀ¸¹Ç·Î ¼±¾ðµµ ÇÏÁö ¾Ê½À´Ï´Ù. °¢ ÇÁ·Î½ÃÀú ¾ÈÀÇ º¯¼ö´Â µû·Î ÁöÁ¤ÇÏÁö ¾Ê´Â ÇÑ ¸ðµÎ Áö¿ªº¯¼öÀÔ´Ï´Ù. proc¹® ¾ÈÀÌ ¾Æ´Ï¸é ¸ðµÎ stack level 0°¡ µË´Ï´Ù. º¯¼öÀ̸§ÀÇ Á¦Çѵµ ¾øÀ¸¹Ç·Î, ½ÇÁ¦·Î ºóĵîÀÌ µé¾î°£ º¯¼öÀ̸§µµ °¡´ÉÇÕ´Ï´Ù. º¯¼ö´Â ¹«Á¶°Ç stringÀÌ µé¾î°¡°Ô µÇÁö¸¸, expr¸í·É µî¿¡¼´Â ¼ýÀÚ°¡ ¾Æ´Ñ °ÍÀº »ç¿ëÇÒ ¼ö ¾ø½À´Ï´Ù. ¶ÇÇÑ struct°ú °°ÀÌ ±¸Á¶Ã¼¸¦ ¼±¾ðÇÒ ¼öµµ ¾ø½À´Ï´Ù
set x 10
set abc "Hello World!"
set pi 3.14159
set "New York" 100
º¯¼ö´Â Çö levelÀÌ ³¡³¯¶§±îÁöÀÇ ¼ö¸íÀ» °¡Áö°í, unset¸í·ÉÀ¸·Î ¾ø¾Ù ¼ö ÀÖ½À´Ï´Ù.
================================================================
¹è¿
================================================================
Tcl¿¡´Â indexed array°¡ ¾ø°í ¿ÀÁ÷ associative array¸¸ÀÌ Á¸ÀçÇÕ´Ï´Ù. Multidimensional arrayµµ ¾ø´Âµ¥, ÀÌ°ÍÀº ¹«½ÄÇÏ°Ô ÇØ°áÇÒ ¼ö ÀÖ½À´Ï´Ù.
set score(junker) 100
set score(bongbong) 50
set muld(3,5) 70
set muld($x,$y) 60
º¸Åë variable substitutionÀ» À§ÇØ $À» »ç¿ëÇϴµ¥, $Àº ±× ´ÙÀ½¿¡ ¿µ¹®ÀÚ·Î ½ÃÀÛÇÏ¿© ¿µ/¼ýÀÚ±îÁö¸¦ ÆǺ°Çϴ°Ϳ¡ ÁÖÀÇÇսôÙ. µû¶ó¼ ´ÙÀ½ÀÇ °æ¿ì { }À¸·Î ¹½À´Ï´Ù.
.canvas configure -width ${size}m
incr°ú append¸í·ÉÀ¸·Î ++°ú strcat°ú °°Àº È¿°ú¸¦ ¾òÀ» ¼ö ÀÖ½À´Ï´Ù.
% set x 5
% incr x
6
% set x "abc"
% append x "def"
abcdef
================================================================
¼ö½Ä
================================================================
ÀϹÝÀûÀÎ ANSI C¿ÀÆÛ·¹ÀÌÅ͸¦ ´Ù »ç¿ëÇÒ ¼ö ÀÖ´Ù°í »ý°¢ÇÏ¸é µË´Ï´Ù. ´Ù¸¸ == <= >= !=Àº º°µµ¸í·É ¾øÀÌ stringÀÇ ºñ±³µµ °¡´ÉÇÕ´Ï´Ù. ºñ±³¹®ÀÇ °á°ú´Â ÂüÀ̸é 1, °ÅÁþÀ̸é 0ÀÔ´Ï´Ù. sin(x), cos(x)µîÀÇ ¼öÇÐÇÔ¼öµµ ¾µ ¼ö ÀÖ½À´Ï´Ù.
% expr 3+5
8
% expr 6*7.3
43.8
% expr 6e4 * 7.91e+16
4.746e+21
% expr sin(60)
-0.304811
================================================================
¸®½ºÆ®
================================================================
¸®½ºÆ®´Â ´ÜÁö ºóÄÀ¸·Î ¿¬°áµÈ ´Ü¾îÀÇ ÁýÇÕ´Ï´Ù. ¶§¹®¿¡ ´Ü¾î ¾È¿¡ ºóÄÀÌ µé¾î°¥ ¼ö ¾ø´Âµ¥, ÀÌ°ÍÀº { }À¸·Î ¹¾î¼ ÇØ°áÇÒ ¼ö ÀÖ½À´Ï´Ù.
% concat {a b c} {d e} f {g h i}
a b c d e f g h i
% list {a b c} {d e} f {g h i}
{a b c} {d e} f {g h i}
% llength {a b c}
3
% set x {a b {c d} e}
% linsert $x 2 X Y Z
a b X Y Z {c d} e
% lsearch $x d
-1
% lsearch $x e
3
% lsort {10 1 2}
1 10 2
% set y /usr/include/sys/types.h
/usr/include/sys/types.h
% split $y /
{} usr include sys types.h
================================================================
Á¦¾î±¸Á¶
================================================================
if {$x < 0} {
set x 0
}
°¢ Á¦¾î±¸Á¶ÀÇ evaluationÀÇ °úÁ¤À» ´«¿©°Ü º¼ ÇÊ¿ä°¡ ÀÖ½À´Ï´Ù. C¿Í´Â ´Ù¸¥ ÇüŸ¦ ÃëÇÏ´Â °ÍÀÌ, TclÀÇ ¸í·É¿¡´Â blockÀÌ Á¸ÀçÇÏÁö ¾Ê±â ¶§¹®ÀÔ´Ï´Ù. ifÀÇ °æ¿ì¿¡´Â Àμö µÎ°³(¼ö½Ä, body)¸¸À» ÃëÇÒ »ÓÀÔ´Ï´Ù(µÚ¿¡ elseif¿Í else¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù) µû¶ó¼ ºñ±³ÀÎ ¼ö½ÄºÎºÐµµ, ´Ü¼øÈ÷ ´Ü¾î¸¦ ³ª´©±â À§ÇÑ ¼ö´ÜÀ¸·Î { }¸¦ »ç¿ëÇÒ »ÓÀÔ´Ï´Ù. ÀÌ´Â ´ÙÀ½ ¿¹¿¡¼ ´õ È®½ÇÇØÁý´Ï´Ù.
% set i 5
% while {$i>0} {
puts -nonewline "$i "
incr i -1
}
5 4 3 2 1 %
% set i 5
% while $i>0 {
puts -nonewline "$i "
incr i -1
}
5 4 3 2 1 0 -1 -2 -3 ...
{ }Àº ´Ü¼øÈ÷ ´Ü¾î¸¦ ³ª´ »Ó ¾Æ´Ï¶ó evaluationÀ» ¸·¾Æ¼ ¹Ýº¹µÇ´Â Á¦¾î±¸Á¶¿¡¼µµ »õ·Î¿î variable substitutionÀÌ ÀϾµµ·Ï ÇÕ´Ï´Ù.
for, foreach, switchµµ ºñ½ÁÇÑ ¿ë¹ýÀ» °¡Áö°í ÀÖ½À´Ï´Ù.
% for {set i 5} {$i>0} {incr i -1} {puts $i}
% foreach i {a b c} {puts $i}
% switch $x {
a {incr t1}
b {incr t2}
c {incr t3}
}
evalÀº ÀμöµéÀ» ÇÕÇÏ¿© »õ·Î¿î Tcl¸í·ÉÀÌ ½ÇÇàµÇµµ·Ï ÇÕ´Ï´Ù.
% eval {set i 5}
5
% eval set i 5
5
================================================================
Procedure
================================================================
proc¸í·ÉÀ» »ç¿ëÇÏ¿© »õ·Î¿î ÇÔ¼ö¸¦ Tcl½ºÅ©¸³Æ®·Î ¸¸µé ¼ö ÀÖ½À´Ï´Ù. »õ·Î ¸¸µé¾îÁø ¸í·ÉÀº recursionÀ¸·Îµµ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. º¸Åë procÀÇ ¸®ÅÏ°ªÀº ±× ÇÁ·Î½ÃÀúÀÇ ¸¶Áö¸· ¸í·ÉÀÇ evalation°ªÀÔ´Ï´Ù. ±×·¯³ª ÀÌ¿Í ÇÔ²² return¸í·Éµµ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
% proc plus {a b} {expr $a+$b}
% plus 3 5
8
¾Õ¿¡¼ À̾߱âÇÑ°Íó·³ ¸ðµç º¯¼ö´Â ÇÁ·Î½ÃÀú ³»¿¡¼ Áö¿ªº¯¼öÀÌÁö¸¸, »óÀ§ º¯¼ö¸¦ global·Î Ãë±ÞÇÏ·Á¸é global¸í·ÉÀ» ½á¾ß ÇÕ´Ï´Ù.
global x y
ÀÌ °æ¿ì ÇÁ·Î½ÃÀú¸¦ ºÎ¸¥ ÇÁ·Î½ÃÀúÀÇ a¿Í b¸¦ global·Î Ãë±ÞÇϸç, ÇÁ·Î½ÃÀú ³»¿¡¼ a¿Í bº¯¼ö´Â Áö¿ªº¯¼ö°¡ ¾Æ´Ñ Àü¿ªº¯¼ö·Î Ãë±ÞÇÏ°Ô µË´Ï´Ù(CÀÇ static°ú´Â Á¶±Ý ´Ù¸£´Ù´Â °Í¿¡ ÁÖÀÇÇÏ»õ¿ä).
Àμö´Â ¸ðµÎ call-by-value¿¡ ÀÇÇØ È£ÃâµÇÁö¸¸, ¹è¿ÀÇ °æ¿ì C¿¡¼Ã³·³ À̸§¸¸ ÁÖ´Â °ÍÀ¸·Î ¹è¿À» ÀÐÀ»¼ö´Â ¾ø½À´Ï´Ù. µû¶ó¼ ÀÌ¿Í °°Àº °æ¿ì¿¡´Â upvar¸í·ÉÀ» »ç¿ëÇÏ¿© call-by-reference¸¦ Èä³»³»¾î¾ß ÇÕ´Ï´Ù. Tcl¿¡´Â Æ÷ÀÎÅÍ ±¸Á¶°¡ ¾ø½À´Ï´Ù.
% proc parray name {
upvar $name a
foreach el [lsort [array names a]] {
puts "$el = $a($el)"
}
}
% set info(age) 7
% set info(posision) "Vice President"
% parray info
age = 7
posision = Vice President
upvar¸í·ÉÀº ´Ü¼øÈ÷ ÀÌÀü´Ü°èÀÇ ÇÁ·Î½ÃÀúÀÇ º¯¼ö¸¦ ¾µ ¼ö ÀÖ´Ù´Â °Í ¿Ü¿¡ ƯÁ¤ levelÀÇ º¯¼ö¸¦ ¾µ ¼ö ÀÖ´Ù´Â ÀåÁ¡ÀÌ ÀÖ½À´Ï´Ù.
upvar #0 other x
¶ÇÇÑ uplevelÀ» »ç¿ëÇÏ¿© »õ·Î¿î Á¦¾î±¸Á¶¸¦ ¸¸µé¾î ³¾ ¼ö ÀÖ½À´Ï´Ù.
================================================================
¹®ÀÚ¿
================================================================
Tcl¿¡¼ ÇѱÛÀ» ¾µ ¼ö Àִ°¡ÀÇ °¡´É¼º¿¡ ´ëÇؼ´Â, ´ëºÎºÐÀÇ ÇÑ±Û ¸Þ¼¼Áö°¡ ÀÔ·ÂÀ¸·Î µé¾î°¡µµ »ó°üÀÌ ¾øÁö¸¸, Tk¿¡¼ ÇѱÛÃâ·ÂÀÌ ºÒ°¡´ÉÇÏ°í(ÇÑ±Û Tk°¡ ÀÖ´Ù´Â À̾߱â´Â µé¾îº» ÀûÀÌ ¾ø±â ¶§¹®¿¡), ¹®ÀÚ¿ ·çƾ¿¡¼ÀÇ ¿Àµ¿ÀÛÀÌ ÀϾ±â ¶§¹®¿¡ ±×·¸°Ô ±ÇÀåÇÒ¸¸ÇÑ °ÍÀº ¾Æ´Õ´Ï´Ù. ÇÏÁö¸¸ Çѱ۵îÀÇ 8ºñÆ® ¸Þ½ÃÁö´Â ±×´ë·Î »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
¹®ÀÚ¿ °Ë»ö¿¡´Â µÎ°¡Áö°¡ ÀÖ½À´Ï´Ù. glob¿Í regular expressionÀÌ Àִµ¥, glob´Â shellÀÇ ¹æ½ÄÀÌ°í, regexp´Â grep(1)ÀÇ À¯´Ð½º Ç¥ÁØ¿¡ ÀÇÇÑ °Ë»öÀÌ °¡´ÉÇÕ´Ï´Ù.
% string match Tcl* "TclABC"
1
% regexp {([0-9]+) *([a-z]+)} "Walk 10 km" a b c
1
% set a
10 km
% set b
10
% set c
km
% regsub a ababa zz x
1
% set x
zzbaba
% format "%d is %c" 100 100
100 is d
% scan "16 units, 24.2% margin" "%d units, %f" a b
2
% set a
16
% set b
24.2
% string length "abc"
3
% string toupper "abc"
ABC
% string compare "abc" "def"
-1
================================================================
±âŸ
================================================================
ÆÄÀÏ I/O
ÆÄÀÏ I/OÀº POSIXÇ¥ÁØÀÇ ÆÄÀÏ°ü·Ã ÇÔ¼ö¸¦ ¸í·ÉÀÇ ÇüÅ·Π´ëºÎºÐ ÀÌ¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
% set x [open abc r]
file4
% gets $x
Hello
% tell $x
6
% close $x
¶ÇÇÑ file¸í·ÉÀº ÆÄÀÏÀ̸§ÀÇ Á¶ÀÛ°ú ÆÄÀÏ Á¤º¸¸¦ ¾òÀ» ¼ö ÀÖ´Â ºÎ¸í·ÉµéÀ» ¸¹ÀÌ °®°í ÀÖ½À´Ï´Ù.
set filename /usr/include/limits.h
set f [open $filename r]
while {[gets $f line] >= 0} {
puts $line
}
close $f
================================================================
ÇÁ·Î¼¼½º
================================================================
exec¸í·ÉÀ¸·Î ¿ÜºÎ¸í·ÉÀ» ½ÇÇàÇÒ ¼ö ÀÖ°í, >°ú <<µîÀÇ ¸®´ÙÀÌ·º¼Ç¸í·ÉÀ¸·Î Ãâ·Â°á°ú³ª ÀÔ·ÂÀ» Á¦¾îÇÒ ¼ö ÀÖ½À´Ï´Ù. |·Î ÆÄÀÌÇÁµµ »ç¿ëÇÒ ¼ö ÀÖ°í, &¸¦ »ç¿ëÇÏ¸é ¹é±×¶ó¿îµå ÀÛ¾÷µµ °¡´ÉÇÕ´Ï´Ù.
% exec ls
#ht-tcl_tk.tex# auto ht-tcl_tk.dvi ht-tcl_tk.tex
abc ht-tcl_tk.aux ht-tcl_tk.log ht-tcl_tk.tex~
% exec cat abc | grep World
World
Hello World!
%
================================================================
history
================================================================
C½©°ú °°ÀÌ !!µîÀÇ ¸í·ÉÀ» »ç¿ëÇÏ¿© ÀÌÀü ¸í·ÉÀÇ ¹Ýº¹ÀÌ °¡´ÉÇÕ´Ï´Ù.
!! ÀÌÀü¸í·ÉÀ» ¹Ýº¹ÇÕ´Ï´Ù(history redo)
! ÇØ´ç¸í·ÉÀ» ¹Ýº¹ÇÕ´Ï´Ù(history redo )
^old^new ÀÌÀü¸í·ÉÀÇ old¸¦ new·Î ¹Ù²Ù¾î ½ÇÇàÇÕ´Ï´Ù
(history substitute old new)
|
|
|
|
°Ô½Ã¹°: 113 °Ç, ÇöÀç: 1 / 1 ÂÊ |
|
¹øÈ£ |
Á¦ ¸ñ |
ÀÛ¼ºÀÚ |
µî·ÏÀÏ |
¹æ¹® |
116 |
[make] DUMPON eval ifeq
|
JMJS |
24.9.12 |
54
|
115 |
[make] .PHONY
|
JMJS |
24.3.28 |
97
|
114 |
[make] -n -d -r --debug=b
|
JMJS |
24.3.28 |
104
|
113 |
magick convert -rotate -append
|
JMJS |
23.10.12 |
130
|
112 |
dirname
|
JMJS |
23.3.20 |
187
|
111 |
zip a.zip -r ./a
|
JMJS |
23.2.1 |
215
|
110 |
ffmpeg AlwaysMovie
|
JMJS |
22.12.6 |
219
|
109 |
7za a abc.zip abc -> tar -c -z -f abc.zip abc
|
JMJS |
22.11.30 |
216
|
108 |
convert mogrify
|
JMJS |
23.2.1 |
304
|
107 |
[sh]array
|
JMJS |
19.8.14 |
356
|
106 |
arithmetic in a makefile, shell pwd export
|
JMJS |
17.9.8 |
4409
|
105 |
Split and merge large files
|
JMJS |
16.3.21 |
1015
|
104 |
[Makefile]random
|
JMJS |
14.12.5 |
1395
|
100 |
À©µµ¿ì7 ¿ë·®ºÎÁ· winsxs Æú´õ ÃÖÀûÈ
|
JMJS |
14.10.14 |
2327
|
99 |
[sh,csh]while loop
|
JMJS |
13.2.6 |
2365
|
98 |
hostname, hostid, /sbin/ifconfig eth0
|
JMJS |
13.1.4 |
4390
|
97 |
[linux]fedora 16 gome-shell extension
|
JMJS |
12.3.12 |
2069
|
96 |
[linux]fedora 16 grub boot order change
|
JMJS |
12.3.10 |
2307
|
95 |
[linux]fedora Input Method,ibus,hangul
|
JMJS |
12.3.8 |
1993
|
94 |
[linux]audio,mp3,mplayer,gstreamer,vlc
|
JMJS |
12.3.7 |
2712
|
93 |
[sh].wrapper example
|
JMJS |
11.6.15 |
2319
|
92 |
[make]for loop
|
JMJS |
11.9.8 |
1980
|
91 |
[make]conditional expression
|
JMJS |
11.5.12 |
1881
|
90 |
[make]shell ½ÇÇà
|
JMJS |
11.3.9 |
2007
|
89 |
[wish]jplot
|
JMJS |
10.5.12 |
1656
|
88 |
yum
|
JMJS |
09.8.12 |
1689
|
87 |
[CYGWIN]X setupÇϱâ
|
JMJS |
10.8.6 |
3034
|
86 |
[Make]Makefile Brief
|
JMJS |
10.8.6 |
1719
|
85 |
ldd /user/bin/xterm
|
JMJS |
09.4.24 |
1400
|
84 |
[HTML]¾îµµºñ SVG ºä¾î¿Í HTML
|
JMJS |
09.4.24 |
1980
|
83 |
[DOS]DOS command
|
JMJS |
09.7.20 |
1664
|
82 |
[DOS]DOS command brief
|
JMJS |
07.2.21 |
2138
|
81 |
À¥ÆäÀÌÁö ¼Ò½ºº¸±â
|
JMJS |
09.4.24 |
1659
|
80 |
[html]ÀÚµ¿À¸·Î ±ÛÀÚ»ö ¹Ù²ñ
|
JMJS |
07.1.10 |
1595
|
79 |
[html]º¹»ç, µå·¡±× ±ÝÁö
|
JMJS |
07.1.10 |
2098
|
78 |
[csh]cshell¿¡¼ function ¸ø¾´´Ù³×¿ä
|
JMJS |
11.3.17 |
1644
|
77 |
¸®´ª½º¿¡¼ i386,i586,i686, x86ÀÇ Â÷ÀÌÁ¡
|
JMJS |
06.10.16 |
1906
|
76 |
[CSH]$status
|
JMJS |
06.8.21 |
1366
|
75 |
[sh]substr, read, until,IFS,for,dirname
|
JMJS |
14.12.19 |
1571
|
74 |
[sh]rgbview.sh . hello.sh
|
JMJS |
10.11.30 |
1495
|
73 |
automount - /etc/fstab
|
JMJS |
06.2.23 |
1502
|
72 |
lmutil.csh
|
JMJS |
05.11.8 |
1831
|
71 |
ÈÀÏÀ̸§¿¡ ¸ø¿À´Â ¹®ÀÚ
|
JMJS |
05.9.8 |
1627
|
70 |
/usr/ucb /usr/ccs
|
JMJS |
05.9.5 |
1491
|
69 |
Solaris Version
|
JMJS |
05.9.5 |
1710
|
68 |
/usr/ccs/bin/nm -x debpli.so
|
JMJS |
05.8.31 |
1977
|
67 |
tar, gzip, zcat, uncompress, mn(.a ÆÄÀϺ¸±â)
|
JMJS |
13.1.6 |
1831
|
66 |
find . -name -print -exec perl
|
JMJS |
09.4.17 |
1807
|
65 |
pkgadd -d packagefile
|
JMJS |
05.5.9 |
1526
|
64 |
prstat
|
JMJS |
08.10.2 |
1790
|
63 |
vi ¸í·É¾î, vim¸í·É¾î gvim
|
JMJS |
24.4.28 |
4949
|
62 |
grep -Rs µî multiple directory ¿¡¼ grep ?
|
JMJS |
24.12.19 |
1971
|
61 |
[csh].cshrc_axis
|
JMJS |
04.5.14 |
1809
|
60 |
[csh].cshrc_modelsim
|
JMJS |
04.5.14 |
1939
|
59 |
[csh].cshrc_cadence
|
JMJS |
04.5.14 |
1970
|
58 |
[csh].cshrc_novas
|
JMJS |
04.5.14 |
1870
|
57 |
[csh].cshrc_verisity
|
JMJS |
04.5.14 |
2238
|
56 |
lmgrd
|
JMJS |
09.6.22 |
2554
|
55 |
[csh]which case
|
JMJS |
04.5.14 |
1820
|
54 |
[bash]example 2
|
JMJS |
04.5.12 |
2050
|
53 |
[bash]example 1
|
JMJS |
04.5.12 |
1922
|
52 |
fedora 12¿¡¼ touchpad disable
|
JMJS |
11.1.17 |
1996
|
51 |
[Perl]Çѱ¹¾î ÀÎÄÚµù
|
JMJS |
04.1.16 |
2828
|
50 |
[Perl]HTML¿¡¼ ±âÈ£ Ç¥½Ã¸¦ À§ÇÑ ¹®ÀÚġȯ
|
JMJS |
04.1.5 |
11017
|
49 |
[csh]make awk
|
JMJS |
03.6.6 |
2202
|
48 |
[csh]wordsplit
|
JMJS |
03.6.6 |
1845
|
47 |
[csh]vi2
|
JMJS |
03.6.6 |
1687
|
46 |
[csh]cat.csh
|
JMJS |
03.6.6 |
1743
|
45 |
[csh]chgword.csh
|
JMJS |
03.6.6 |
1689
|
44 |
[bash]password
|
JMJS |
11.3.9 |
1587
|
43 |
[Tcl]bi2int
|
JMJS |
02.11.29 |
1603
|
42 |
[PC]ask °Ë»öâÀÌ ÀÚ²Ù ¶á´Ù¸é
|
JMJS |
09.4.24 |
2115
|
41 |
[csh]backup_copyc.csh; foreach; continue
|
JMJS |
09.4.24 |
1777
|
40 |
uname, uname -s -r, uname -p, uname -a
|
JMJS |
09.4.24 |
1975
|
39 |
[tk]»õ â ¿°í ´Ý±â ¿¹Á¦
|
JMJS |
09.4.24 |
11585
|
38 |
[sh]if [[ "$abc" == "abc" && "$bbc" == "bbc" ]]; ...
|
JMJS |
11.3.17 |
1703
|
37 |
[expect]expect_scp.exp
|
JMJS |
11.3.9 |
1759
|
36 |
ssh -x -l soc lion scp -r ...
|
JMJS |
11.3.9 |
1566
|
35 |
TclTk ¹è¿
|
JMJS |
09.7.20 |
1642
|
34 |
./configure make make install
|
JMJS |
11.1.13 |
1579
|
33 |
[csh]diff
|
JMJS |
10.7.14 |
1625
|
32 |
tr abc 123 < file1 > file2
|
JMJS |
11.4.11 |
1572
|
31 |
Installing RPMforge
|
JMJS |
10.2.8 |
1661
|
30 |
[ű×]±ÛÀÚ»öÀÌ »ç¶óÁü
|
JMJS |
09.4.24 |
1727
|
29 |
[ű×]ÀÚµ¿À¸·Î ±ÛÀÚ»öÀÌ º¯ÇÔ
|
JMJS |
09.4.24 |
1711
|
28 |
±ÛÀÚÅÂ±× ¸ðÀ½
|
JMJS |
09.4.24 |
1863
|
27 |
»ö»ó¸í°ú RGB°ª Ç¥
|
JMJS |
09.4.24 |
1875
|
26 |
RGB »ö»óÇ¥
|
JMJS |
09.4.24 |
2030
|
25 |
ÇѱÛƯ¼ö¹®ÀÚÇ¥
|
JMJS |
09.4.24 |
1937
|
24 |
bc -l
|
JMJS |
01.5.22 |
1620
|
23 |
file *, od -xc *, cat *
|
JMJS |
01.3.28 |
1937
|
22 |
Linux Memo
|
JMJS |
09.7.20 |
1792
|
21 |
xterm -fn 10x20 &
|
JMJS |
12.3.7 |
1610
|
20 |
W/S Tip
|
JMJS |
09.4.29 |
1700
|
19 |
[awk]example
|
JMJS |
10.10.30 |
1933
|
18 |
[csh].cshrc
|
JMJS |
11.6.21 |
2396
|
17 |
stop & background job
|
JMJS |
00.11.14 |
1594
|
16 |
W/S shout down
|
JMJS |
00.11.14 |
1559
|
15 |
[sed]example
|
JMJS |
16.9.5 |
1958
|
14 |
[DOS]Memo
|
JMJS |
00.10.29 |
1685
|
13 |
[csh]¸®½ºÆ®¸¦ ¸¸µé¾î foreach·Î ó¸®ÇÒ¶§
|
JMJS |
00.10.7 |
5418
|
12 |
[Tcl]Tool Command Language
|
JMJS |
09.7.24 |
3093
|
11 |
[csh]vi.csh
|
JMJS |
00.6.27 |
1703
|
10 |
[csh]Check Process
|
JMJS |
00.6.27 |
1636
|
9 |
[csh]Get Character and get char without 'return'
|
JMJS |
10.2.8 |
1765
|
8 |
[csh]foreach SED
|
JMJS |
00.6.27 |
2078
|
7 |
[Window]¿À·ùº¸°í ¾È ¶ß°ÔÇÏ´Â ¹æ¹ý
|
JMJS |
09.9.23 |
1646
|
6 |
[csh]echo.csh
|
JMJS |
00.6.27 |
1831
|
5 |
set DDD = `date '+%y%m'`
|
JMJS |
00.6.27 |
1548
|
4 |
[SH]Advanced Bash-Scripting Guide
|
JMJS |
09.4.24 |
1506
|
3 |
[csh]Beep : echo ^G;sleep 1
|
JMJS |
00.6.27 |
1840
|
2 |
[csh]if ($abc == $bbc) then _ else _ endif
|
JMJS |
00.6.27 |
2038
|
1 |
[csh]ARGV
|
JMJS |
00.6.27 |
2112
|
|
|
|
|