Search Results

Search: Posts Made By: arkhei
1,266
Posted By arkhei
Help please
I want to replace the last to characters to OO
i have these files

456464
213131
785521
231645
021321
.....

i DOnt have any idea on this please help..
4
1,442
Posted By arkhei
why is that it took to much time to run the code?...
why is that it took to much time to run the code?
do you have any suggestion how this can be optimized
4
1,442
Posted By arkhei
Help
for example i have this:

123456
456778

i want to change the last two digits to 00

how can i do these please help
1,541
Posted By arkhei
How to compare to files
I have these two files:
file1
NPANXX|BILLDATE|DIVCODE|COMID|RAO|LIKECODE|BOSS|SORD|STATECODE|
087001|BP01|H|SWBT| |041|IMR6|IMSR6|AR|
087002|BP03|H|SWBT| |042|IMR6|IMSR6|AR|...
4,771
Posted By arkhei
sed -e '1s/\|$/\|LIKECODE \|/g' -e...
sed -e '1s/\|$/\|LIKECODE \|/g' -e 's/^090.*$/&CF5857\|/g' -e 's/\(^087.*H\|\)(.
...\)\(.*\)/\1PHI\3/g' dryloop.txt > drdry.txt
this is what i typed
4,771
Posted By arkhei
Sorry myfault but an error appeare it says that...
Sorry myfault but an error appeare it says that the function cannot be parsed
4,771
Posted By arkhei
Thanks. Why is that it didn't create any...
Thanks.
Why is that it didn't create any output file?
4,771
Posted By arkhei
HELP PLs
I have this code:
#!/bin/sh
awk 'BEGIN
NR == 2
repl[087*] = "PHI"
$4 = repl[$4]
print $0 'dryloop.txt

and this code:
#!/bin/sh
sed -e '1s/\|$/\|COMID\|/g' -e 's/^087.*$/&PHI\|g'...
4,739
Posted By arkhei
thanks vidyarhar85 it works great. Thanks alot. ...
thanks vidyarhar85 it works great. Thanks alot.
can you please explain your im quite confuse
thanks alot
4,739
Posted By arkhei
Thanks. but TEST column should only be added at...
Thanks. but TEST column should only be added at the first line
4,739
Posted By arkhei
what if i want to save it in a new file?
what if i want to save it in a new file?
4,739
Posted By arkhei
it still doesn't work ..why is tha?
it still doesn't work ..why is tha?
4,739
Posted By arkhei
this is what i've done to insert new column but...
this is what i've done to insert new column but it does not work.
cat hl.dsldryloop | awk -F\|'{print $1"|"$2"|"$3"|"$4"|"$5"|"$6"|"$7"|"$8"|"$9"|TEST|" } ' >file.txt
4,739
Posted By arkhei
Need Help Badly: Newbie Here
I have this file:

NPANXX|BILLDATE|DIVCODE|COMID|RAO|LIKECODE|BOSS|SORD|STATECODE|
087001|BP01|H|SWBT| |041|IMR6|IMSR6|AR|
087002|BP03|H|SWBT| |042|IMR6|IMSR6|AR|
087003|BP05|H|SWBT| ...
Showing results 1 to 14 of 14

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