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
LEARN ABOUT DEBIAN
discover-modprobe.conf
discover-modprobe.conf(5) File Formats Manual discover-modprobe.conf(5)
NAME
discover-modprobe.conf -- configuration file for discover-modprobe(5)
Description
discover-modprobe.conf is the configuration file for discover-modprobe, which is responsible for retrieving and loading kernel modules.
Warning:
This file is a shell script, and as such is subject to a string variable assignment syntax. No space is allowed between the variable
name, the equal (=) sign, and the value(s) assigned. If multiple values are to be assigned, the list must be space-delimited with
surrounding quotes.
Two directives can be used in this file: types and skip. Both can be defined multiple times.
types This describes the classes of hardware that should be scanned and queried.
skip These modules should never be loaded. See the ``Files'' section for details on the mechanism for generating these entries auto-
matically.
Files
/var/lib/discover/crash
A crash file written and erased each time discover-modprobe attempts to load a module. If the file lingers, the computer is
assumed to have crashed while loading that module, and the module name is added to discover-modprobe.conf as a module to skip in
the future.
See Also
discover-modprobe(8), modprobe(8), discover(1)
discover-modprobe.conf(5)