Search Results

Search: Posts Made By: andy4013
2,893
Posted By andy4013
The command you provided is just giving out the...
The command you provided is just giving out the number of records in the data file irrespective of the number of matches found. If i use a word which doesn't exist in the data file then also it...
2,893
Posted By andy4013
Now it returns 0 count after modifying the syntax...
Now it returns 0 count after modifying the syntax to '${c}'

org name = Canadian OU CAD
c = "Canadian OU CAD"
0
2,893
Posted By andy4013
Hi, I corrected the syntax to b=`grep -c...
Hi,

I corrected the syntax to b=`grep -c \"${c}\" $HOME/TESTING5.csv`

but still the same issue. I'm still getting the below error while trying to execute the script.

org name = Canadian OU...
2,893
Posted By andy4013
Searching a particular string with spaces in a data file
Hi,

I'm new to shell scripting and require your help in achieving the requirement.

I have a data file which stores organization name as one of the column data in a csv data file.
...
Showing results 1 to 4 of 4

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