User Tools

Site Tools


playground:vps_-_plan9front_-_fn_reply_and_prompt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 05:00] – [prompt] hc9playground:vps_-_plan9front_-_fn_reply_and_prompt [2022/06/26 05:19] – [function (fn)] hc9
Line 7: Line 7:
  
 ^#^Examples^ ^#^Examples^
-|**1**|''fn vim { sam $* }''+|**1.**|...[[:resources_for_website_builders#editing_text|“vim”]] and “emacs” which offer an unmatched degree of customization.| 
-|**2**|//Grep, but force listing of filename:lineno so you can click on an entry to jump to it in an editor.//+|//a.//|''fn vim { sam $* }''
-|//a//|''fn gn { grep -n $* /dev/null }''+|**2.**|//Grep, but force listing of filename:lineno so you can click on an entry to jump to it in an editor.//
-|**3**|//Tree enumerator (simple "find") useful for many purposes//+|//a.//|''fn gn { grep -n $* /dev/null }''
-|//a//|''fn f { du -a $* <nowiki>|</nowiki> sed 's/^.*// ((This whitespace is a tab.))//<nowiki>//</nowiki>g' }'' ⇐ that whitespace is a tab|+|**3.**|//Tree enumerator (simple "find") useful for many purposes//
 +|//a.//|''fn f { du -a $* <nowiki>|</nowiki> sed 's/^.*// ((This whitespace is a tab.))//<nowiki>//</nowiki>g' }'' ⇐ that whitespace is a tab|
  
 **Example #1:** **Example #1:**
Line 32: Line 33:
 profile.edit: #991 profile.edit: #991
 q q
 +cpu%
 +</code>
 +
 +<code>
 +cpu% whatis vim
 +fn vim {
 + sam $*
 +}
 cpu% cpu%
 </code> </code>