Search Results

Search: Posts Made By: Fundix
811
Posted By Fundix
By -F, you are telling awk that the field...
By -F, you are telling awk that the field separator is , and am not seeing any comma in your file .
If your field separator is space, you better run :
awk -F" " ...
2,895
Posted By Fundix
Using Perl one-liner %perl -pe...
Using Perl one-liner
%perl -pe "s/ABC=\d{3}/ABC=456/g" fileABC=456
CDE=122
DEF=456
ABC=456
DED=333
ABC=456
1,637
Posted By Fundix
awk -F',' ' if ($14==9101' && $42!=0) '...
awk -F',' ' if ($14==9101' && $42!=0) ' *_201304*.csv|wc -l > pax1
2,418
Posted By Fundix
Just try find . -name "*.csv" -type f -print |...
Just try
find . -name "*.csv" -type f -print | xargs awk -F"," ' $14 ~ /6010|2345|5690|8670|4567/ { print $0 ; ++cpt } END { print cpt} '
2,497
Posted By Fundix
awk -F"," ' /name/ { for (i=1;i<=NF;i++) if...
awk -F"," ' /name/ { for (i=1;i<=NF;i++) if ($i=="name") idx=i} $0 !~ /name/ { print $idx} ' file
2,116
Posted By Fundix
eval solution : #!/usr/bin/ksh ...
eval solution :

#!/usr/bin/ksh

totalInstance=1
c=1
SID=SID
SID_1=CERUAT

while (( c <= $totalInstance ))
do
var1="${SID}_${c}"
eval var2="$"$var1
...
8,133
Posted By Fundix
Just check, but ksh93 is installed in standard in...
Just check, but ksh93 is installed in standard in all the Aix servers I've met these days.
8,133
Posted By Fundix
Have a look in /usr/bin/ in order to check if you...
Have a look in /usr/bin/ in order to check if you have ksh and ksh93 ( ls -l /usr/bin/ksh* )
If ksh93 is present you can check your commands like this :

#/usr/bin/ksh93
#typeset -F3 x=1.455...
1,423
Posted By Fundix
I guess I've found a solution using a wrapper : ...
I guess I've found a solution using a wrapper :

#!/usr/bin/ksh

LADATE=$(date +'%Y%m%d_%H%M%S')
SCRIPT=$(basename $0)
REPRISE=${1:-debut}
FIN=${2:-fin}
PID=$$
...
Forum: AIX 11-22-2012
5,904
Posted By Fundix
Color mode do not work
My scripts are now displayed without any underlined things.

Next step for me was to activate (if possible) syntax highlighting using colors.
The context is Putty 0.54 on XP, Vim on Aix 7.1.0.0...
Forum: AIX 11-20-2012
5,904
Posted By Fundix
Commenting these lines is worse. All lines...
Commenting these lines is worse.
All lines leading spaces are then underlined too.

Thank You

---------- Post updated 20th Nov 2012 at 02:47 PM ---------- Previous update was 19th Nov 2012 at...
Showing results 1 to 11 of 11

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