Toggle navigation
Log in
Sign Up
Log in
Sign Up
Appium
C
C#
C++
Docker
Go
Informatica
Java
JavaScript
Kafka
Numpy
Oracle
Pandas
PHP
Python
R
React Native
Scipy
SFTP
Tableau
Teradata
TGMC
UNIX
Forget_Code.Models.CategoryViewModel
Add a new snippet
AWK
1
Choose Category
ORS - AWK Output Record Seperator in UNIX
Forget Code
UNIX
ORS - AWK Output Record Seperator
ORS is a special variable in AWK, by default ORS is a newline character, however this can be changed.
Value of ORS can be changed in BEGIN block
Example : Convert list of names to comma separated
awk 'BEGIN{ORS=","}1;' newFile
Working Example
Tags for ORS - AWK Output Record Seperator in UNIX
using ORS in awk
how to change output separator in awk
line separator in awk
record separator in awk
put a record seperator in unix
awk using nr to change ors
AWK output record seperator
awk output record separator
awk output record
awk ors example
Contribute to Forget Code, help others.
Add snippet