Search Results

Search: Posts Made By: sam25
2,548
Posted By sam25
it is working thanx know d unknown:b::o
it is working thanx know d unknown:b::o
2,548
Posted By sam25
This is not working.. No value coming to...
This is not working..

No value coming to Vriable.
2,548
Posted By sam25
special characters giving problem
Hi All,

I have a CSV file in which some fields contains special character for ex:-

my file is file 1

cat file1
abcd,bgfht,ngbht,abvc ****
hdlld,hsgdt,bhfy,knht ****

whenever i am...
4,122
Posted By sam25
Thank You very much...
Thank You very much...
4,122
Posted By sam25
How we can use crontab..?
How we can use crontab..?
4,122
Posted By sam25
How to run a script automatically
Hi All,

How can i run a script every week automatically.


Thanks & regards,
Sam
2,654
Posted By sam25
grep one word in two files
Hi All,

Can we grep one word in two file at same time. i.e using one command only. for ex

egrep -i "word" file1 file2

is it possible?
1,369
Posted By sam25
hi Sai, Put below code in your script and...
hi Sai,

Put below code in your script and check.
suppose OLD_FILe is a file which you are going to update.

cp -i OLD_FILe Newfile
###after updation of OLD_FILe#####
diff OLD_FILe Newfile...
7,541
Posted By sam25
Thanks vgersh. Its working..:b:;)
Thanks vgersh.

Its working..:b:;)
7,541
Posted By sam25
thnx vgersh99 Here is the complete problem....
thnx vgersh99

Here is the complete problem.

i want to perform logical AND operation for search. i am passing a space separated string to a variable from web application.

below is my code...
7,541
Posted By sam25
so how we can make a case-insensitive search for...
so how we can make a case-insensitive search for below command

awk '/str1/ && /str2/ && /str3/' filename
7,541
Posted By sam25
Thanks for replying i am using awk like:- ...
Thanks for replying i am using awk like:-

awk '/str1/ && /str2/ && /str3/' filename
7,541
Posted By sam25
how i can do that..?
how i can do that..?
7,541
Posted By sam25
case-insensitive search with AWK
Hi All,

How we can perform case-insensitive search with AWK.:rolleyes:

regards,
Sam
8,597
Posted By sam25
not working error coming $awk -v n=$key...
not working error coming

$awk -v n=$key '/n/' file.csv
awk: Cannot find or open file /n/.
The source line number is 1.
8,597
Posted By sam25
My string is coming through web application in a...
My string is coming through web application in a variable
like
VARIABLE="str1 str2 str3"

i need to use this variable in search.

This is not working when i am using my variable

awk...
8,597
Posted By sam25
sorry i forgot to mention one thing my file is...
sorry i forgot to mention one thing my file is CSV file,
and that command is not working with CSV file.
8,597
Posted By sam25
strings are coming through web application in a...
strings are coming through web application in a variable.

cat file|egrep "str1 str2 str3" not working.:mad:
8,597
Posted By sam25
ok here is the example :- below is the...
ok here is the example :-

below is the string coming from web application

string="str1 str2 str3"

i want to search a record/records which contain all three string by using source file...
8,597
Posted By sam25
Logical AND operation with egrep
Hi All,

I need to perform logical AND operation using UNIX command.
string(space separated) is coming through web. And i dont want to create
files for that. i want to use only source file.
...
3,771
Posted By sam25
Help with egrep command
Hi All,

I am using egrep command to search one pattern. Following is the command i am using

egrep -i "ACL*" filename

but its also giving me the records which do not contain ACL.
any help...
Showing results 1 to 21 of 21

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