06-20-2009
was this xml transferred from another system? Your script works for me.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know this is going to be an easy anwer, but I haven't been able to figure this out - even with the help of the previous posts. I want to go from this
PROD USER anon;
to this
TEST;
I have coded a few sed commands, and none of them are getting the job done. anon will not always be the... (2 Replies)
Discussion started by: djschmitt
2 Replies
2. Shell Programming and Scripting
I have a file with a bunch of similar lines in which I want to extract a phrase delimited by the first occurance of a '>' at the beginning and the first occurance of a '<' at the end (you might have guessed these are beginning/end of HTML tags). Using Sed I have managed to delete up to and... (7 Replies)
Discussion started by: coldcanuck
7 Replies
3. Shell Programming and Scripting
Example,
Trying to replace text to the end of a line.
Text file looks like this
PP= 4
PP= 412
PP= 425
I want to replace only the following line:
PP= 4
with
PP= 2
How can this be done with sed? (3 Replies)
Discussion started by: hanson397
3 Replies
4. Shell Programming and Scripting
Hello All,
I have a doubt in sed, i want to add some parameter at the end of the tag inside a xml tag. how to i do that. so i want to add Results="true" value="high" inside the xml tag.
Orignal
<execute description="reboot">
<execute description="Stop Servlet">
After adding the... (5 Replies)
Discussion started by: asirohi
5 Replies
5. UNIX for Dummies Questions & Answers
Hello Friends, How can I remove the last two values of this line using sed
John Carey:507-699-5368:29 Albert way, Edmonton, AL 25638:9/3/90:45900
The result should look like this:
John Carey:507-699-5368:29 Albert way, Edmonton, AL 25638 (3 Replies)
Discussion started by: humkhn
3 Replies
6. Shell Programming and Scripting
All:
Can somebody help me out with a sed command, which removes the the first occurance of ')' until the end of the line
If I have the following input
... (5 Replies)
Discussion started by: BeefStu
5 Replies
7. Shell Programming and Scripting
Dear Unix Experts :),
Below is a small section of a large file with the following list:
1. Starts with string " interest" as the heading
2. Followed by a list of activities
3. Ends with a blank line before starting with another different list.
E.g.
Sporting interest
football... (13 Replies)
Discussion started by: gjackson123
13 Replies
8. Shell Programming and Scripting
I understand that the SED command reads all the lines in the file before adding a required line to the end of the file.
Is there another command that adds a line to the end of files without reading the entire file....
SED is increasing the processing time as the number of lines in each of the... (1 Reply)
Discussion started by: Kanch
1 Replies
9. Shell Programming and Scripting
Hello all,
what I would like to have sounds quite simple...
I have a file where the records have a line ending like (CR, LF, CR/LF, LFLF, ...) - so I do not know.
In result I would like to have a file with UNIX line endings -> LF
Maybe I can do it with a sed - but I do not... (8 Replies)
Discussion started by: API
8 Replies
10. Shell Programming and Scripting
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
SPLASHY(1) Splashy POSIX boot splash system SPLASHY(1)
NAME
Splashy - a user-mode, POSIX and LSB compliant, boot splashing system for UNIX.
SYNOPSIS
splashy { boot | shutdown | test | preview }
splashy_chvt { TTY_NUMBER }
DESCRIPTION
Splashy displays an image and a progress bar at boot time. When called as splashy_chvt, it allows the same functionality as the UNIX
command chvt.
OPTIONS
boot Does boot sequence. See EXAMPLES.
shutdown
Does shutdown sequence. See EXAMPLES.
test, preview
Use to test splashy without having to reboot the system. this shows a progressbar continuously moving as well as the current image
for the currently selected theme. See EXAMPLES.
EXAMPLES
"/sbin/splashy test"
Used to test splashy. Useful for testing new themes.
"/sbin/splashy boot"
Used when booting your system. This is run automatically by a initrc script during boot.
"/sbin/splashy shutdown"
Similar in spirit to boot, but run during shutdown. This is run automatically by a initrc script during shutdown.
FILES
/etc/splashy/config.xml
Main configuration. defines how splashy should be setup.
/etc/splashy/themes/default/config.xml
Default theme. defines how the images displayed by splashy should be setup, their location and other theme-related variables.
NOTES
To use splashy as chvt, make a symbolic link from splashy's location to a new path. i.e.: cd /sbin; ln -s splashy splashy_chvt
SEE ALSO
splashy_config(1), splashy_update(1), splashy-config.xml(5), splashy-theme.xml(5)
AUTHORS
Luis Mondesi <lemsx1@gmail.com>
perl v5.12.1 2010-07-05 SPLASHY(1)