Search Results

Search: Posts Made By: ernesto
1,595
Posted By RudiC
I can't see your above code to be working as...
I can't see your above code to be working as presented. Try instead
awk '
function CVBCK(STR) {sub (/\]/, ")", STR)
sub (/;/, ",", STR)
sub...
1,039
Posted By RavinderSingh13
Hello Shamrock, Thank you for nice code,...
Hello Shamrock,

Thank you for nice code, would like to add here IMHO. Above code gives extra string at last from ActiveTechorActiveClerk, so to remove them too just a little modification of you...
1,039
Posted By greet_sed
Hi, Another version. ( output/sed is purely...
Hi,

Another version. ( output/sed is purely based on given input in post#1, it might not work if input lines are different)

$ cat file
121014259981568JBAUT30JaniceBautistaMANGER...
1,039
Posted By shamrock
Hopefully this sed one liner might work... sed...
Hopefully this sed one liner might work...
sed -e 's/\([0-9]\)\([A-Z]\)/\1 \2/g;s/\([a-z]\)\([A-Z]\)/\1 \2/g;s/\([A-Z]\)\([A-Z]\)\([a-z]\)/\1 \2\3/g;s/^\([0-9]*\) //' file
1,039
Posted By RavinderSingh13
Hello Ernesto, Could you please try...
Hello Ernesto,

Could you please try following and let me know if this helps you. But Input_file should be same as shown sample Input_file(ditto exact) else it would provide different output too.
...
3,655
Posted By RudiC
Too bad ... what's said in man bash? ...
Too bad ... what's said in man bash?

---------- Post updated at 10:20 ---------- Previous update was at 10:15 ----------

Well, tryread FD <file
FS=$(date -d"${FD% *}" +%s)
seq -f"@%.0f" $FS...
955
Posted By RudiC
Try also awk '{split($1,N,":"); while (++L <...
Try also awk '{split($1,N,":"); while (++L < N[1]) printf "%02d:00\t0 <--\n", L; L=N[1]} 1' file
00:00 0
01:00 0
02:00 0
03:00 0
04:00 0
05:00 0
06:00 0
07:00 0
08:00 0...
Showing results 1 to 7 of 7

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