I have three lines in a log that I want to check to make sure that they say the following (mm/dd/yyyy and hh:mm:ss changes depending in when the log is generated):
'*** Testing file for mm/dd/yyyy'
'*** End of procedure! Time was: hh:mm:ss'
'*** End ***'
I did some sed... (13 Replies)
I use SAS (a statistical software) and have to remove last character or the last 1/2 numbers that appear after characters from the string using Perl Regular Expression (which is recognized by SAS).
Input: f183ii10 f183ii2 f182ii1 f182ii2 f183iim f22ii f22ii11 f22ii12 pmh4 pmhm
Desired... (2 Replies)
Hello,
I would like to find an efficient way to compare a pair of strings that differ at one position, and return the difference and position.
For example:
String1 123456789
String2 123454789
returning something - position 6, 6/4
Thanks in advance,
Mike (5 Replies)
Hello Can Any1 help me.
I want to replace a specific character string inside a file at a specific location with a particular character with the help of a command or a shell script.
The tr command replaces a specific character with another for all the occurences of that character in the file.
I... (5 Replies)
OK This one has me stumped. I have the following line,
program name - the program description that can also contain a hyphen - character.
I'm need to separate the "program name" from the program description.
I've tried using an array function with the - as delimiter, but I ran into a... (2 Replies)
Another frustrating scripting problem from a biologist trying to manipulate a file with several millions line. For each of the line I need to compare the uppercase A or C or G or T with the lowercase a or c or g or t. If there are more uppercases, a + should be added to a new column, otherwise a -... (10 Replies)
Hello,
I want to writte a script that replace two character strings by two variables with the command sed butmy solution doesn't work. I'm written this: sed "s/TTFactivevent/$TTFav/g && s/switchSLL/$SLL/g" templatefile.
I want to replace TTFactivevent by the variable $TTFav, that is a... (4 Replies)
I have a variable containing a list of strings, and want to create a string with the first character being -.
Example:
var="-name fred paul -surname winnett dimech"
I want a string, namely
errStr="-name -surname" (2 Replies)
Here is my task, I feel sure this can be accomplished with see/awk but can't seem to figure out how.
I have large flat file from which I need to extract every case of a pairing of characters (GG) in this case PLUS the previous 20 characters. The output should be a list (which I plan to make... (17 Replies)
Hi all,
I need to remove DBPATH= and /db from the string below using awk (or sed, as it also exists on the machine).
Input: DBPATH=/some/path/database/db
Desired output: /some/path/database
Thank you! (8 Replies)
Discussion started by: ejianu
8 Replies
LEARN ABOUT POSIX
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)