How to handle the delimiter unit seperator in Unix

Answer Posted / pitambar mishra

Different types of command using delimiter :
1. cut -d "|" -f6 emp.lst
d : delimiter or field separator
2. sort -t "|" -nk6 emp.lst
t : delimiter or field separator
3. awk -F "|" '{print $6}' emp.lst
F : delimiter or field separator

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is shell and terminal the same?

593


What is bash command used for?

587


What is eval in shell script?

653


Can you write a script to portray how set –x works?

554


What is c in shell script?

641






What is bash eval?

550


How do I edit a .sh file?

625


What is shell prompt?

568


Why do we write bin bash in shell scripts?

546


What are the default permissions of a file when it is created?

501


What does .sh file contain?

556


Write the syntax for "if" conditionals in linux?

599


What is shell scripting used for?

577


How do you create a shortcut in linux?

597


Write down the syntax for all the loops in shell scripting.

664