Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created November 10, 2012 22:30
Show Gist options
  • Save NapoleonWils0n/4052768 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/4052768 to your computer and use it in GitHub Desktop.
bash: awk sed remove double quotes
#!/bin/sh
# print 1st field with awk pipe to sed and remove double quotes
VBoxManage list vms | awk '{print $1}' | sed 's/\"//g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment