소스 검색

Merge branch 'maint'

Kyle Meyer 8 년 전
부모
커밋
e9018fbd0e
1개의 변경된 파일2개의 추가작업 그리고 7개의 파일을 삭제
  1. 2 7
      doc/org.texi

+ 2 - 7
doc/org.texi

@@ -16165,14 +16165,9 @@ source code in each block is extracted for concatenation to a pure code file.
    |sed '1d' \
  #+END_SRC
 
- ** sort by the percent full
+ ** output mount point of fullest disk
  #+BEGIN_SRC sh
-   |awk '@{print $5 " " $6@}'|sort -n |tail -1 \
- #+END_SRC
-
- ** extract the mount point
- #+BEGIN_SRC sh
-   |awk '@{print $2@}'
+   |awk '@{if (u < +$5) @{u = +$5; m = $6@}@} END @{print m@}'
  #+END_SRC
 @end example