diff options
Diffstat (limited to '')
-rwxr-xr-x | extract_field.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extract_field.sh b/extract_field.sh index aab4b6a..030ddaf 100755 --- a/extract_field.sh +++ b/extract_field.sh @@ -2,4 +2,4 @@ # Usage: ./extract_field.sh DBNAME KEY FIELDIDX -awk 'BEGIN { FS = ":" } $1 == "'"$2"'" { print $'"$3"'}' < $1 +awk 'BEGIN { FS = "_" } $1 == "'"$2"'" { print $'"$3"'}' < $1 |