---------- Post updated at 12:41 PM ---------- Previous update was at 12:28 PM ----------
Quote:
Originally Posted by cola
What does the $! do here?
If i remove it it displays the same result.
And is it possible to do the same thing without using a label and jump?
1-) actually i think all the same things..because $! --> means dont process for last line and go for others..already there is not a newline after the last line..
2-) without using a label and jump --> is not successfull if you use without label then result is process just every two lines.
Hey - my first post here, and I'm a total SED newb. I've looked around for previous help on this, but have so far been unsuccessful.
I have a program (AMStracker for OS X) that outputs data in the terminal. Output is in this form:
.
.
.
3 0 -75
3 0 -76
3 0 -77
... (4 Replies)
Anyone know how to use SED to append a comma to the end of each line
example:
field1,field2,field3,field4
If i Cat /textfile ---- How can i append the end of /textfile with a comman? (8 Replies)
Hello to all,
On aix, I want to identify a term on a line in a file and then add a word at the end of the line identified. I do not want the word to be added when the line contains the symbol "#".
I use the following command, but it deletes the term identified then adds the word.
#sed... (4 Replies)
Hi all
I tried this on an old version of sed on NCR Unix MP-RAS:
sed -e "s/$/nnn/" file1 >file2
This file (file1):
the cat sat on the mat.
the cat sat on the mat.
the cat sat on the mat.
becomes this (file2):
the cat sat on the mat.nnn
the cat sat on the mat.nnn
nnn
the... (3 Replies)
im trying to append to the end of the line using sed but I want to do it without creating a new line
the text to which I want to append is all in capital letters.
I want to do something like this:
LINE]Foo
but when I do this:
//a\
] Foo
it prints foo on a new line:
LINE
]Foo
... (11 Replies)
Hello,
I have to add a new line at the end of a File on Solaris-System:
I think my script should be right, because I evaluated it to other threads. However the script does not what I am expected it should do.
My file might look like this:
Line1
Line2
Line3
And my script could... (7 Replies)
Hi, I posted in another section, but no reply yet.
I have an ini file with sections denoted as follows (for example)
blah=blah
blee=blee
bloo=bloo
blur=blur
blaa=blaa
I have ksh script that needs to append a line ${line} to the end of section ${section}
I saw this... (7 Replies)
Hi,
$ cat f1
My name is Bruce and my surname is
I want to use SED to find “Bruce” and then append “ Lee” to the end of the line in which “Bruce” is found
Then a more tricky one…. I want to INSERT ….a string… in to a line in which I find sometihng. So example
$ cat f2
My name is... (9 Replies)
hello Team,
I am looking for sed command or script which will append word at end of line. for example. I want to validate particular filesystem with mount |<filesystem name> command. if nodev parameter is not there then it should add in the fstab file with receptive to the filesystem.
# mount... (8 Replies)
Discussion started by: ghpradeep
8 Replies
LEARN ABOUT SUSE
gst-register
gst-register-0.8(1) User Commands gst-register-0.8(1)NAME
gst-register-0.8, gst-register - register GStreamer plugins
SYNOPSIS
gst-register-0.8 [gst-std-options]
gst-register [gst-std-options] [--gst-list-mm] [--gst-mm=string] [--print]
DESCRIPTION
gst-register-0.8 registers all of the GStreamer plugins on your system. gst-register-0.8 creates a listing of their properties so that on
startup of GStreamer-based applications, you do not need to load plugins until you need them.
When run as the root user, gst-register-0.8 creates the Global GStreamer plugin registry which is stored in /var/cache/gstreamer-X.X/reg-
istry.xml, where X.X is the GStreamer major and minor version number.
When run as a user other than the root user, gst-register-0.8 creates a user registry ~/.gstreamer-X.X/registry.xml, where X.X is the
GStreamer major and minor version number.
Programs that uses GStreamer use the user plugin registry if it exists, and use the Global plugin registry if not.
gst-register is a wrapper script that runs the latest installed version of gst-register-X.X. For example, if both gst-register-0.7 and gst-
register-0.8 are installed on your system, gst-register runs gst-register-0.8.
OPTIONS
The following options are supported by gst-register-0.8 and gst-register:
gst-std-options Standard options available for use with most GStreamer applications. See gst-std-options(5) for more information.
The following options are supported by gst-register only:
--gst-list-mm List found major/minor versions. This option displays the versions that are available.
--gst-mm=string Force major/minor version. This option enables you to specify a specific version to run, if you do not want to run the
default version.
--print Print wrapped command line. This option displays the command that will be run, and then runs the command.
EXAMPLES
Example 1: Running the Wrapper Script and Displaying the Command Name
example% gst-register --print
/usr/bin/gst-register-0.8
FILES
The following files are used by this application:
/usr/bin/gst-register-0.Executable to register GStreamer plugins
/usr/bin/gst-register Wrapper script that runs the latest installed version of gst-register-X.X
/var/cache/gstreamer-X.XGStreamer.global plugin registry, where X.X is the GStreamer major and minor version number.
~/.gstreamer-X.X/registrGStreamer user plugin registry, where X.X is the GStreamer major and minor version number.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-media |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO gst-complete(1), gst-compprep(1), gst-feedback(1), gst-inspect(1), gst-launch(1), gst-launch-ext(1), gst-md5sum(1), gst-thumbnail(1), gst-
typefind(1), gst-xmlinspect(1), gst-xmllaunch(1), gstreamer-properties(1), libgstreamer-0.8(3), libgstgetbits(3), gst-std-options(5)NOTES
Original man page written by the GStreamer team at http://gstreamer.net/.
Updated by Brian Cameron, Sun Microsystems Inc., 2004.
SunOS 5.10 14 Oct 2004 gst-register-0.8(1)