Search Results

Search: Posts Made By: shankarao
2,162
Posted By shankarao
How to embeded programm within programm
Hi,
How to embeded programme within perl programme.

Shankarao
2,598
Posted By shankarao
open the file and save the result
Hi,
I tried with this command it works fine, Now i want to open the file and store the result in that file.
awk '{if ($1=="PD") pd=$0; else if ($1=="PY") print $0 ORS pd; else print $0}'...
2,598
Posted By shankarao
exchange of lines.
With related with my earlier mail is tried with following code but its giving errror,

awk '$1=="PD" {pd=$0; next} {print} $1=="PY" {print pd}' file1

let me know how to exchange the lines.
...
2,598
Posted By shankarao
How to interchange the lines
Hi,

I want to know that, how to inter change the lines.
In the following file two line are there first one is conatin PD next line PY.
But i want to first line PY and next line PD. ...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 03:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy