read first 10 lines

This commit is contained in:
Dmitriy Pleshevskiy 2023-02-17 00:44:20 +03:00
parent 243d3bfb4f
commit 1e05739a5e
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

2
wd2
View file

@ -48,7 +48,7 @@ function parse_args() {
}
function get_attr_value() {
head -n4 "$d2_input_file" | grep "$1" | awk -F"$1: " '{ print $2 }' | cut -d';' -f1
head -n10 "$d2_input_file" | grep "$1" | awk -F"$1: " '{ print $2 }' | cut -d';' -f1
}
parse_args "$@"