Search Results

Search: Posts Made By: Abhishek_1984
21,097
Posted By Abhishek_1984
Hi, I am not sure about the ksh version thing,...
Hi,
I am not sure about the ksh version thing, but it works in my system
#! /usr/bin/ksh
a=9.2
if [ $a > 0 ]
then
echo "Correct"
else
echo "incorrect"
fi

Please use code...
3,111
Posted By Abhishek_1984
you can see the test feature of unix. if [...
you can see the test feature of unix.

if [ -s file1] , it will check what you want.
2,418
Posted By Abhishek_1984
you want to enter letters one by one or user have...
you want to enter letters one by one or user have to pass list of letters?

---------- Post updated at 10:22 AM ---------- Previous update was at 10:22 AM ----------

I will write a perl program...
4,967
Posted By Abhishek_1984
My mitake instead of grep use egrep egrep...
My mitake instead of grep use egrep

egrep -f test1 test2
angie blond
mary brunnet
susan red


I am getting the requird result.

---------- Post updated at 10:17 AM ---------- Previous...
1,284
Posted By Abhishek_1984
Hi, Mostly binary file doesn't have "." in the...
Hi,
Mostly binary file doesn't have "." in the name. If this applies in your system, I can give command to remove such files.
9,295
Posted By Abhishek_1984
you can open you .profile file which is in your...
you can open you .profile file which is in your home directory and insert one alias stating
e.g.
alias pq="<value>" and execute it.

next time when you will use it , it will give you the value....
9,295
Posted By Abhishek_1984
It will be helpful if you can set aliases in your...
It will be helpful if you can set aliases in your .profile file.

Try it.
4,967
Posted By Abhishek_1984
Hi, Use grep with option -f grep -f...
Hi, Use grep with option -f

grep -f file1.txt file2.txt.

Hope it should work.
9,756
Posted By Abhishek_1984
Hi, Please try to run the script after...
Hi,
Please try to run the script after commenting out the line "Cannot open blade72(66)%".

I am not familiar with such statement but if it is not changing the functionality try it.
8,585
Posted By Abhishek_1984
Try this one: (Not tested) #!bin/ksh echo...
Try this one: (Not tested)
#!bin/ksh
echo "Enter the id_file_name"
read idfile
echo "Enter the inputfile name"
read infile
echo "Enter the outputfile name"
read outfile

while read line
do...
4,489
Posted By Abhishek_1984
Hi Krrishv, as per your sample file, file...
Hi Krrishv,
as per your sample file, file delimiter is , but in second row field has different values.
Confirm how you are saying that "Paese is the 7th column value.

Please help me to...
1,437
Posted By Abhishek_1984
I agree with itkamaraj but still if you want to...
I agree with itkamaraj but still if you want to try on unix.

try this one, assuming ; is delimiter
sort -t ";" -k1,2 file_test| head -10
21,064
Posted By Abhishek_1984
Try this one sed 's/:/,/g' test_sort| sort -t...
Try this one
sed 's/:/,/g' test_sort| sort -t ',' -k 2,7 |sed 's/,/:/3'|sed 's/,/:/3'> test_org_final| mv test_org_final test_sort
Showing results 1 to 13 of 13

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