Search Results

Search: Posts Made By: kash
35,295
Posted By kash
if [ `echo $1 |grep "WA"` ]; then echo...
if [ `echo $1 |grep "WA"` ]; then
echo "Found"
else
echo "Not Found"
fi
1,960
Posted By kash
Thanks for your response and support. I managed...
Thanks for your response and support.
I managed to solve the problem.


Converting spaces into strings and putting it back. coz "for loop" can't read as continuous line if there is space in...
1,960
Posted By kash
Hi Thanks for your prompt response. Here...
Hi
Thanks for your prompt response.

Here is my question:

In My script at some place I'm reading one file in for loop:

cat file_name
abc|xyz|Hello World|

for i in `cat file_name`
do...
1,960
Posted By kash
Need Help on For Loop
Hi

I need help i Loop format

If i use the Following syntax

$ for i in `echo "Hello world"`
do
echo $i
done

Output is:
Hello
world

But i need Output in One line "Hello world"
...
Showing results 1 to 4 of 4

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