Quantcast

The UNIX School Forum

The Place where you can post your queries on Unix/Linux Shell scripting, sed, awk, perl.
123
Topics (101)
Replies Last Post Views
Adding header to an existing csv and populate it with values by Sahil
0
by Sahil
need help finding a specific email address in a file and deleting the line its on. by MJ
5
by Raghwendra Kumar Mis...
Regarding Set command by Ayush
0
by Ayush
Set command by Ayush
0
by Ayush
Split File based on multiple column values by Tom
1
by Tom
awk multiple delimiters including SPACE or TAB by miketango
0
by miketango
<Start> <Header> This is header section </Header> <Body> <Body_start> This is body section <a> <b> <c> <st>111</st> </c> <d> <st>blank</st> </d> </b> </a> </Body_start> <Body_section> This is body section <a> <b> <c> <st>5</st> </c> <d> <st>666</st> </d> </b> <b> <c> <st>154</st> </c> <d> <st>1457954</st> </d> </b> <b> <c> <st>845034</st> </c> <d> <st>blank</st> </d> </b> </a> </Body_section> </body> </start> If 'st' value of 'c' tag is 154 , then the whole <b>to </b> tag needs to removed.Value 154 may or not be present in the file. If the value 154 present , then the removal of the following part is needed <b> <c> <st>154</st> </c> <d> <st>1457954</st> </d> </b> I want to do the coding in shell script. I can not use xslt because my system does not support xslt. by RJG
0
by RJG
join two files and adding coresponding fields at the end of delimited files by oby
0
by oby
Is it possible to compare two file values using while loop? by Anbu
0
by Anbu
unix by ARABINDA
0
by ARABINDA
Insert space or pattern between columns in a data file in a specified format by Shivakumar
0
by Shivakumar
Unable to prefix and postfix the special character to entire column in a csv file by Shivakumar
0
by Shivakumar
blocking a usb port by saibabu
0
by saibabu
Compare 2 files and split the required fields by Sneha C
0
by Sneha C
variable logic clarification by vamsi
0
by vamsi
file split by split a file with pa...
1
by ssss
awk by kishore
0
by kishore
shell scripting by sunil
1
by Suresh Goacher
Add Column at end which is average of row values by OMEGA
1
by Guru
Merge rows into one if first 2 columns match by susmitha
1
by Jean-Paul
AWK - Printing ALL lines after a pattern match by Sam
3
by Jean-Paul
Query result set output in EXCEL file by alzeena
0
by alzeena
producing extra rows when pasting two files by Lichi
3
by Dee
Need to split a file bsed on content by Anju
3
by Deepak
How to remove a block of text, but only if it contains a specified string by laubrino
2
by laubrino
transfer value to variable from awk for monitoring process by Dontknowunix
1
by Guru
Awk - Create a key from line 01, fields $4$3$2 and line 07 $4 by High-T
0
by High-T
Merging rows with same id using AWK? by Erik
0
by Erik
perl -plne by Mary
3
by Guru
Clean up some records from database table using scripts through csv file by varaprasad
1
by Guru
Help trying to understand sed -need just the line number of a line with specfic text. by MJ
1
by Guru
Need help to search <10,9:10/4947000219> in perl. by Eric
3
by Eric
Create multiple file from one file with same text. by Eric
2
by Eric
arrange in-ordered comma separated data into desired header/column wise in unix by praveen
1
by Guru
Understanding bash shell code by vamsi
2
by vamsi
123