Skip to main content
edited title
Link
Stéphane Chazelas
  • 586.3k
  • 96
  • 1.1k
  • 1.7k

"hat What is the meaning of '1' at the end of an awk script

Change formatting for readability
Source Link
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

what "hat is the meaning of 1'1' at the end of an awk script

I was reading this awk script

awk -F"=" '{OFS="=";gsub(",",";",$2)}1' script

awk -F"=" '{OFS="=";gsub(",",";",$2)}1' 

I want to know what is the function of 1 at the end of it.

what is the meaning of 1 at the end of awk script

I was reading this awk script

awk -F"=" '{OFS="=";gsub(",",";",$2)}1'

I want to know what is the function of 1 at the end of it

"hat is the meaning of '1' at the end of an awk script

I was reading this awk script

awk -F"=" '{OFS="=";gsub(",",";",$2)}1' 

I want to know what is the function of 1 at the end of it.

edited tags
Link
αғsнιη
  • 41.9k
  • 17
  • 75
  • 118
Tweeted twitter.com/#!/StackUnix/status/299052076716130304
edited tags
Link
PersianGulf
  • 11.3k
  • 11
  • 56
  • 83
Loading
Source Link
Mirage
  • 1.6k
  • 7
  • 19
  • 19
Loading