Search Results

Search: Posts Made By: srini02
2,685
Posted By srini02
Scott , It worked awesome. Thanks you so much...
Scott ,
It worked awesome.
Thanks you so much .
But, can you please explain what exactly the syntax means?
2,685
Posted By srini02
Need help on getting the first few characters of a file.
Friends ,
I need some help in writing a shell script to get the first few characters from a file for all the lines in that file.

Here is sample data inthe file.
9 JACOBS 0175
10 VENDOR_0175 ...
2,233
Posted By srini02
Thanks Alister,It worked.
Thanks Alister,It worked.
2,233
Posted By srini02
Alister , I tried the above code but its...
Alister ,
I tried the above code but its showing another error
grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
try again
efmsdapp:/export/home/hut$ help grep
ERROR: Key...
2,233
Posted By srini02
Hi,Thanks for the speed reply. When i tried "...
Hi,Thanks for the speed reply.
When i tried " if [ -n $( echo $a | grep '20100614' ) ] " this one
its saying syntax error.
here is the code I used,

a=21345zef
b=21345
case $a in
...
2,233
Posted By srini02
Need help using % or like option in shell script
Hi All,
I need help from you guys.
In the shell script I have, I have a variable that has a value as follows

a=abc_20100614_12346

I want to do the following logic,

if a like '%20100614%'...
Showing results 1 to 6 of 6

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