Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: rsi.245
1,191
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...
1,191
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...
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 01:39 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy