Skip to content

Commit

Permalink
fix(portinstall,tshark): replace -F <c> with -F<c> for Solaris awk
Browse files Browse the repository at this point in the history
Solaris awk does not accept an option argument for `-F` in a separate
word.  The option argument needs to be specified in the same
command-line word as `-F<char>`.
  • Loading branch information
akinomyoga committed Nov 27, 2023
1 parent 7bea087 commit a1c5c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completions/tshark
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ _comp_cmd_tshark()
return
;;
-*T)
# Parse from: tshark -T . 2>&1 | command awk -F \" '/^\t*"/ { print $2 }'
# Parse from: tshark -T . 2>&1 | command awk -F\" '/^\t*"/ { print $2 }'
_comp_compgen -- -W 'pdml ps psml json jsonraw ek tabs text fields'
return
;;
-*t)
# Parse from: tshark -t . 2>&1 | command awk -F \" '/^\t*"/ { print $2 }'
# Parse from: tshark -t . 2>&1 | command awk -F\" '/^\t*"/ { print $2 }'
_comp_compgen -- -W 'a ad adoy d dd e r u ud udoy'
return
;;
Expand Down

0 comments on commit a1c5c30

Please sign in to comment.