<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://wiki.sars.tw/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Sars' History editor</title>
        <description></description>
        <link>https://wiki.sars.tw/</link>
        <lastBuildDate>Sun, 17 May 2026 02:28:48 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>https://wiki.sars.tw/lib/tpl/dokuwiki/images/favicon.ico</url>
            <title>Sars' History</title>
            <link>https://wiki.sars.tw/</link>
        </image>
        <item>
            <title>editor:awk</title>
            <link>https://wiki.sars.tw/doku.php?id=editor:awk&amp;rev=1174621673&amp;do=diff</link>
            <description>Programmable Text Processing
awk -Fc [ -f fileName ] program { variable = value } * {fileName} *
通常會先講語法放在一個檔案中，然後使用參數 -f 來執行

如果要把語法放在 command 中，要用單引號(')括起來

語法</description>
        <category>editor</category>
            <pubDate>Fri, 23 Mar 2007 11:47:53 +0800</pubDate>
        </item>
        <item>
            <title>editor:gedit</title>
            <link>https://wiki.sars.tw/doku.php?id=editor:gedit&amp;rev=1170601708&amp;do=diff</link>
            <description>外部工具

編輯 → 偏好設定 → 外掛程式 

外部工具打勾 

設定外掛程式

新增

編譯 java
javac $GEDIT_CURRENT_DOCUMENT_NAME
執行
java `echo $GEDIT_CURRENT_DOCUMENT_NAME | awk -F . '{print $1}'`</description>
        <category>editor</category>
            <pubDate>Sun, 04 Feb 2007 23:08:28 +0800</pubDate>
        </item>
        <item>
            <title>editor:misc</title>
            <link>https://wiki.sars.tw/doku.php?id=editor:misc&amp;rev=1359566850&amp;do=diff</link>
            <description>Sublime Text 2

Cheatsheets

Source: &lt;http://www.andismith.com/blog/2012/12/sublime-text-2-cheatsheets/&gt;

PC



Mac</description>
        <category>editor</category>
            <pubDate>Thu, 31 Jan 2013 01:27:30 +0800</pubDate>
        </item>
        <item>
            <title>editor:regular_expression</title>
            <link>https://wiki.sars.tw/doku.php?id=editor:regular_expression&amp;rev=1436709930&amp;do=diff</link>
            <description>正規表示式



Regular Expression Library

&lt;http://regexlib.com/&gt;

Visualize tool

	*  &lt;http://www.regexper.com/&gt;
	*  &lt;https://www.regex101.com/&gt;

基礎寫法
  Char      .  任何單一字元  *  重複零次以上前一個字元  +  重複一次以上前一個字元  [...]  任何中括號中出現的字元  [︿...]</description>
        <category>editor</category>
            <pubDate>Sun, 12 Jul 2015 22:05:30 +0800</pubDate>
        </item>
        <item>
            <title>editor:sed</title>
            <link>https://wiki.sars.tw/doku.php?id=editor:sed&amp;rev=1174620963&amp;do=diff</link>
            <description>參考資料

SED單行腳本快速參考

Stream Editing
sed [ -e script ] [ -f scriptfile ] { fileName }*
Commands

	*  address 必須要是行號或者正規表示式
	*  addressRange 可用逗號分隔
	*  如果沒有指定範圍，則對所有行執行
  Command    address a\</description>
        <category>editor</category>
            <pubDate>Fri, 23 Mar 2007 11:36:03 +0800</pubDate>
        </item>
        <item>
            <title>editor:vim</title>
            <link>https://wiki.sars.tw/doku.php?id=editor:vim&amp;rev=1451664443&amp;do=diff</link>
            <description>圖解鍵盤指令

&lt;http://blog.vgod.tw/2009/12/08/vim-cheat-sheet-for-programmers/&gt;

&lt;http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html&gt;





Text Entry Mode

進去 vim 最開始的狀態(按 Esc 可從其他狀態跳過來)
  Key    Action    i  在游標前面插入文字  I  在行首插入文字  a  在游標後面插入文字  A  在行尾插入文字  o</description>
        <category>editor</category>
            <pubDate>Sat, 02 Jan 2016 00:07:23 +0800</pubDate>
        </item>
    </channel>
</rss>
