Skip to main content
added 3 characters in body
Source Link
Gilles Quénot
  • 36.5k
  • 7
  • 74
  • 96

With :

awk -FF': ' 'BEGIN{ORS=" "}$1=="MIME-Version"{exit}{print $2}END{print """\n"}' file    

With :

awk -F: 'BEGIN{ORS=" "}$1=="MIME-Version"{exit}{print $2}END{print ""}' file    

With :

awk -F': ' 'BEGIN{ORS=" "}$1=="MIME-Version"{exit}{print $2}END{print "\n"}' file    
deleted 212 characters in body
Source Link
Gilles Quénot
  • 36.5k
  • 7
  • 74
  • 96

With :

awk -F: '$1=="MIME'BEGIN{ORS=" "}$1=="MIME-Version"{exit}{print $2}END{print ""}' file
 RSMF Generator Sample Library
 1.0.0
 53
 2022-09-20T04
 2022-09-20T16
 GRP000000118
 GRP000000118_D_20220920
 False
 Native Messages
 Person One <5156242756> Person two, Person

With :

awk -F: '$1=="MIME-Version"{exit}{print $2}' file
 RSMF Generator Sample Library
 1.0.0
 53
 2022-09-20T04
 2022-09-20T16
 GRP000000118
 GRP000000118_D_20220920
 False
 Native Messages
 Person One <5156242756> Person two, Person

With :

awk -F: 'BEGIN{ORS=" "}$1=="MIME-Version"{exit}{print $2}END{print ""}' file    
Source Link
Gilles Quénot
  • 36.5k
  • 7
  • 74
  • 96

With :

awk -F: '$1=="MIME-Version"{exit}{print $2}' file
 RSMF Generator Sample Library
 1.0.0
 53
 2022-09-20T04
 2022-09-20T16
 GRP000000118
 GRP000000118_D_20220920
 False
 Native Messages
 Person One <5156242756> Person two, Person