12-18-2019
Two times thank you, Scrutinizer!
I didn't yet discover the
%b or thought it's a GNUism. But seems to be standard.
Now I set
IFS=" " in a sub shell.
I have implemented the fixes in my original post.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Student have huge interest about why so many expert choose use UNIX than MS Windows.
I consider that SHARE & OPEN is key point.:) (2 Replies)
Discussion started by: 111000
2 Replies
2. Solaris
I need to use tip from machine A serial port to machine B serial port. Can someone point me to an example of the correct cable to use?
Thanks. (1 Reply)
Discussion started by: dangral
1 Replies
3. Shell Programming and Scripting
I am about to do a script that change the COST so i dont need to change each cost.
The output looks like this.
"OL_ID OL_LINK_COST
----------- ------------
51 10
52 10
53 10
54 10
55 ... (3 Replies)
Discussion started by: maskot
3 Replies
4. Solaris
plz explain TIP in solaris in detail. (11 Replies)
Discussion started by: karman0931
11 Replies
5. Shell Programming and Scripting
So in my shell i execute:
{ while true; do echo string; sleep 1; done } | read line This waits one second and returns.
But
{ while true; do /bin/echo string; sleep 1; done } | read line continues to run, and doesn't stop until i kill it explicitly.
I have tried this in bash as well as zsh,... (2 Replies)
Discussion started by: ulidtko
2 Replies
6. UNIX for Dummies Questions & Answers
Bit of a weird one i suppose, i want to use an echo inside an echo... For example...
i have a script that i want to use to take users input and create another script. Inside this script it creates it also needs to use echos...
echo "echo "hello"" >$file
echo "echo "goodbye"" >$file
... (3 Replies)
Discussion started by: mokachoka
3 Replies
7. Shell Programming and Scripting
Hello,
I'm just starting working on it. I'd like to get a tip
For istance if I have a file like:
a b c
d e f
....
and I wanna get:
1a & 2b & 3c
0d & 8e & 4f
.....
I would like to use sed and come up with a regular expression that works.... (3 Replies)
Discussion started by: Dedalus
3 Replies
8. Shell Programming and Scripting
echo `echo ` doesn't echoes anything. And it's logic. But
echo `echo `echo ` ` does echoes "echo". What's the logic of it? the `echo `echo ` inside of the whole (first) echo, echoes nothing, so the first echo have to echo nothing but echoes "echo"
(too much echoing :P):o (2 Replies)
Discussion started by: hakermania
2 Replies
9. Shell Programming and Scripting
How do I find a key word in multiple files.. in a directory.. ?
cat *.doc | grep -i myword? (7 Replies)
Discussion started by: hamon
7 Replies
10. Solaris
Prerequisite:
• S7-2L Server Hardware Console Access
• Solaris 11.3 OS and LDOM Packages (Ex: 3.4)
• Setup IPS Repositories
Solaris 11 comes with Oracle VM server pre-installed if older version is there remove the old and install latest Oracle VM... (1 Reply)
Discussion started by: mahendra170
1 Replies