Hello everyone,
I'm writing a script to add a string to an XML file, right after a specified string that only occurs once in the file. For testing purposes I created a file 'testfile' that looks like this:
1
2
3
4
5
6
6
7
8
9
And this is the script as far as I've managed:
... (2 Replies)
Hi,
I am writing a Perl script that reads in many lines, if a line meets the criteria I want to edit, it. For example, the script will return the following example line... test=abc123
All I want to do is strip off the "test=" and just be left with the abc123. In my script I can easily... (3 Replies)
Hi, guys. I have one question:
I need to search for a string in a file, and then extract another string from the file and assign it to a variable.
For example:
the contents of the file (group) is below:
...
ftp:x:23:
mail:x:34
...
testing:x:2001
sales:x:2002
development:x:2003
...... (6 Replies)
Hi.
I have a log file which gets updated by a java process and it uses ASCII STX and ETX characters (i.e CTRL-B and CTRL-C characters) to demarcate each XML message logged.
so the format of the file is something like
STX XML_MESSAGE1
..
..
ETX STX XML_MESSAGE2
..
..
ETX
each XML... (4 Replies)
continuing from my previous post, whose link is given below as a reference
https://www.unix.com/shell-programming-scripting/171076-shell-scripting.html#post302573569
consider there is create table commands in a file for eg:
CREATE TABLE `Blahblahblah` (
`id` int(11) NOT NULL... (2 Replies)
Hi,
I have a unix file with contents as below
Line1: ABC MNN X$$QWERTY$$ JKL
Line2: HELLO $$HOW$$ ARE $$YOU$$ DOING
i want to extract the string between $$ and $$ ie i want the output as QWERTY
HOW YOU
i want those strings seperated by some character say |
desired output is... (7 Replies)
Need Assistance in shell programming... I have a huge file which has multiple stations and i wanted to search particular station and extract few lines from it and the rest is not needed
Bold letters are the stations . The whole file has multiple stations .
Below example i wanted to search... (4 Replies)
Hi,
I have a file that looks something like
>1-18*anc... (12 Replies)
Discussion started by: jyu429
12 Replies
LEARN ABOUT XFREE86
plymouthd
PLYMOUTHD(8) System Administration PLYMOUTHD(8)NAME
plymouthd - The plymouth daemon
SYNOPSIS
plymouthd [OPTION...]
DESCRIPTION
The plymouthd daemon is usually run out of the initrd. It does the heavy lifting of the plymouth system, logging the session and showing
the splash screen.
The plymouth is used to send commands to plymouthd that control its behaviour.
OPTIONS
The following options are understood:
--help
Show summary of options.
--attach-to-session
Redirect console messages from screen to log.
--no-daemon
Do not daemonize.
--debug
Output debugging information.
--debug-file=STRING
File to write debugging information to.
--mode=MODE
Set mode to either boot or shutdown.
--pid-file=STRING
Write the PID of the daemon to a file.
--kernel-command-line=STRING
Fake kernel commandline to use.
--tty=STRING
TTY to ues instead of default.
SEE ALSO grub(8), plymouth(8), plymouth(1), http://www.freedesktop.org/wiki/Software/Plymouth
plymouthPLYMOUTHD(8)