Search Results

Search: Posts Made By: Shan2210
3,423
Posted By birei
Hi, Another solution: $ cat script.awk ...
Hi,

Another solution:

$ cat script.awk
BEGIN {
m["JAN"] = "01"
m["FEB"] = "02"
m["MAR"] = "03"
m["APR"] = "04"
m["MAY"] = "05"
m["JUN"] = "06"
m["JUL"] =...
3,423
Posted By ygemici
# ./justdoit infile ...
# ./justdoit infile
123|shanwer|12\15\2010|bgbh|okok|01\16\3000|okok|

## justdoit ##
x="JAN=01 FEB=02 MAR=03 APR=04 MAY=05 JUN=06 JUL=07 AUG=08 SEP=09 OCT=10 NOV=11 DEC=12"
for i in $(echo...
3,423
Posted By k_manimuthu
perl -i -pe ' BEGIN{ %h=qw( JAN 01 ...
perl -i -pe '
BEGIN{
%h=qw(
JAN 01
FEB 02
MAR 03
APR 04
MAY 05
JUN 06
JUL 07
AUG 08
SEP 09
OCT 10
NOV 11
DEC 12
);} foreach $k (keys %h){...
Showing results 1 to 3 of 3

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