Answer Posted / srikanth
create script test.txt with | seperated
The below commands can be used to get the fields values:
awk -F"|" '{print $1}' test.txt
cat sri.txt | cut -d"|" -f1
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is bash eval?
What is @echo off?
Explain about login shell?
What is scripting autism?
what is tickets $ what low,medium,high priorite pls define time also
How to calculate the number of passed arguments?
Write the syntax for "if" conditionals in linux?
Explain about sourcing commands?
What are scripts in psychology?
Is shell scripting a programming language?
What is the crontab?
How do you debug a script?
What language is bash?
What is shell variable?
What is bash used for?