The delimiter can be a regular expression.
awk -F'[/=]' '{print $3 "\t" $5 "\t" $8}' file
Produces:
tc0001 tomcat7.1 demo.example.com tc0001 tomcat7.2 quest.example.com tc0001 tomcat7.5 www.example.com
Related Posts:
- What does cmd /C mean?
- What does cmd /C mean?
- How to run SQL script in MySQL?
- How can I pass an argument to a PowerShell script?
- Windows 7 Symbolic Link – Cannot create a file when that file already exists
- How do I make a python script executable?
- How to edit a py file from terminal?
- How do you input command line arguments in IntelliJ IDEA?
- How can I find out if I have Xcode commandline tools installed?
- What is the reason for the CD /D switch in Windows cmd?
- git undo all uncommitted or unsaved changes
- npm install multiple package names
- Install oAuth PECL error: Cannot install, php_dir for channel “pecl.php.net” is not writeable by the current user
- “No such file or directory” but it exists
- Error unable to access jarfile C:\Jar
- Node.js version on the command line? (not the REPL)
- How to pretty print XML from the command line?
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- How to find which version of TensorFlow is installed in my system?
- How do I copy a folder from remote to local using scp?
- How to grep for case insensitive string in a file?
- How do I parse command line arguments in Bash?
- syntax error when using command line in python
- https connection using CURL from command line
- syntax error when using command line in python
- How to install JQ on Mac on the command line?
- Create an empty file on the commandline in windows (like the linux touch command)
- How to split a delimited string into an array in awk?
- How can I use “:” as an AWK field separator?
- How do I import an SQL file using the command line in MySQL?
- Why do JVM arguments start with “-D”?
- How do I import an SQL file using the command line in MySQL?
- How to reload .bash_profile from the command line?
- What is the purpose of “&&” in a shell command?
- Angular – ng: command not found
- Mysql: Setup the format of DATETIME to ‘DD-MM-YYYY HH:MM:SS’ when creating a table
- Command Prompt “Net View System Error 6118”
- What are NR and FNR and what does “NR==FNR” imply?
- How to remove double-quotes in jq output for parsing json files in bash?
- How can I generate a list of files with their absolute path in Linux?
- mkdir’s “-p” option
- Using awk to remove the Byte-order mark
- How to change the output color of echo in Linux
- Recursively find all files that match a certain pattern
- Diff command along with Grep gives “Binary file (standard input) matches”
- What is cp: cannot stat error in Unix, I get this error when trying to copy thing from one folder to another
- Printing the last column of a line in a file
- How do I set a variable to the output of a command in Bash?
- Run C++ in command prompt – Windows
- How to Sum a column in AWK?
- What is cp: cannot stat error in Unix, I get this error when trying to copy thing from one folder to another
- fatal: This operation must be run in a work tree
- Run R script from command line
- Absolute value in awk doesn’t work?
- How do I parse command line arguments in Java?
- How to colorize diff on the command line
- How to colorize diff on the command line
- Converting PKCS#12 certificate into PEM using OpenSSL
- Python not working in the command line of git bash
- How to count lines in a document?
- Running Command Line in Java
- Use of `NF` in awk command
- How to easily print ascii-art text?
- Command Prompt Error ‘C:\Program’ is not recognized as an internal or external command, operable program or batch file
- phpmyadmin #1045 Cannot log in to the MySQL server. after installing mysql command line client
- Run Command Prompt Commands
- What is the difference between sed and awk?
- What is Robocopy’s “restartable” option?
- What is %0|%0 and how does it work?
- How to recursively download a folder via FTP on Linux
- Difference between $? and $LastExitCode in PowerShell
- Command prompt won’t change directory to another drive
- How can I do a recursive find/replace of a string with awk or sed?
- ‘ssh’ is not recognized as an internal or external command
- How to stop (and restart) the Rails Server?
- How to print last two columns using awk
- How to compile C program on command line using MinGW?
- how to empty recyclebin through command prompt?
- Timeout a command in bash without unnecessary delay
- Delete .DS_STORE files in current folder and all subfolders from command line on Mac
- Run function from the command line
- Initialize WordPress environment to use in command line script
- Access WordPress API Outside of WordPress (command-line PHP)
- Determining WordPress’ Version from the Host’s Command Line?
- Running WordPress on the Command Line – Turn off Delayed Output?
- wp-cli displays php notices when display errors off
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- Is it possible to export WordPress from command line?
- How to use command ‘wp post create’ in wp-cli properly?
- Where/how are categories stored?
- How do I delete all generated images from my server except those currently used in posts
- Generate WP-CLI @alias for each site on multisite
- How do I set and list page_template with wpcli?
- Initialize WordPress environment to use in a real cron script
- How do I pass an array as an argument to a WP-CLI command?
- Run W3 Total Cache Flush Function with Crontab [closed]
- How to determine wordpress base path when wordpress core is not loaded
- How to disable XML-RPC from Linux command-line in a total way?
- Do you have to have command line access to use Subversion with WordPress?