Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: rsi.245
1,190
Posted By Don Cragun
You could try something like: awk -F '[ |]*' ' ...
You could try something like:
awk -F '[ |]*' '
NR < 3 {print
next
}
!(($2 FS $5) in b) {
b[$2 FS $5] = sprintf("| %s | %s | %s | %s | ", $2, $3, $4, $5)
e[$2 FS $5] = sprintf(" | %s | %s...
1,190
Posted By Don Cragun
I assume that you already know that the script I...
I assume that you already know that the script I gave you before cannot possibly work when there are no longer any header lines in your input files and all of the field separators are completely...
951
Posted By Scott
There is a replace function that can do just...
There is a replace function that can do just that:

SQL> update tablename set name = replace( name, 'string', 'sequence' ) where id > 5;

(assuming Oracle or mySQL)
Showing results 1 to 3 of 3

 

Featured Tech Videos

All times are GMT -4. The time now is 10:20 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy