mirror of
https://github.com/tomasriveral/NoteWrapper.git
synced 2026-08-11 18:18:36 +02:00
Forgot to remove useless file
This commit is contained in:
-12
@@ -1,12 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
file="$1"
|
||||
line="$2"
|
||||
|
||||
start=$((line-5))
|
||||
end=$((line+5))
|
||||
|
||||
nl -ba "$file" | awk -v s="$start" -v e="$end" -v l="$line" '
|
||||
NR>=s && NR<=e {
|
||||
if (NR==l) print ">>> " $0;
|
||||
else print " " $0
|
||||
}'
|
||||
Reference in New Issue
Block a user