Search Results

Search: Posts Made By: orit
11,031
Posted By orit
perfect!! Thanks a lot!
perfect!!

Thanks a lot!
11,031
Posted By orit
OK, With fgrep it worked. regarding the...
OK, With fgrep it worked.

regarding the other pattern - What I want to be set into the variable is the next string without spaces (till next space or new line) right after "Set view: "
any...
11,031
Posted By orit
Thanks, I tried the advised code as following: ...
Thanks,
I tried the advised code as following:
echo "test123"
v1=`ct pwv | grep 'Set view: ** NONE **'`
echo $v1

and I get:
test123


(empty line after the test123)

1. Any idea?
2....
11,031
Posted By orit
Set specific part in command output into variable
I am trying unsuccessfully to set into a variable a specific part of command output:
The command output will be as:
line 1: <varied>
line 2: 2 options:
option 1:
Set view: ** NONE **
or...
Showing results 1 to 4 of 4

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