How to print the first field which is having the value based on delimeter – unix.stackexchange.com 03:31 Posted by Unknown No Comments File(myfile.txt) contains data as follows: abc#ab1=23 nrt# #clb1aX amd#322 Desired Output: abc nrt clb1ax amd I could do like this, for i in `cat myfile.txt` do s1=`echo $i | cut -d'#' -f1`; ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitOffset Partition with only one remainder element – mathematica.stackexchange.comLatex Flowchart: Connect from diamond to far of rectangle – tex.stackexchange.comA question concerning pointwise convergence – math.stackexchange.com'turn over' on a leaflet – ux.stackexchange.comWhat caused Jesse Pinkman to go spiralling down after killing Gale? – movies.stackexchange.comsearch for directories containing one file and missing another – unix.stackexchange.com
0 Comment to "How to print the first field which is having the value based on delimeter – unix.stackexchange.com"
Post a Comment