diff --git a/index.md b/index.md index 50901f5..d4b5393 100644 --- a/index.md +++ b/index.md @@ -191,7 +191,7 @@ width = 40 ## Convert to lowercase - :%s/.*/\L&/ + :%s/.*/\L&/ ## Join all lines @@ -214,8 +214,8 @@ Select 3rd column separated by colon (`:`) ## Insert the sum of a list of numbers after an arbitrary number of lines -1) mark the first line: `mk` -2) mark the last line: `ml` +(1) mark the first line: `mk` +(2) mark the last line: `ml`
:'k,'l!awk 'END{print "total:", i}{i+=$1; print}'