I'm needing to add a "hour:min" to the end of each line in a document. The document in this case is only going to be one line.
if this inserts it at the end, what needs to be changed to add something at the end...
/bin/echo "%s/^/$filler/g\nwq!" | ex -s $oFile
Thank you... (2 Replies)
Hi,
I wanted to add specific text to each row in a text file containing three rows. Example:
0 8 7 6 5 5
7 8 9 0 7 9
7 8 9 0 1 2
And I want to add a 21 at the beginning of the first row, and blank spaces at the beginning of the second two rows. To get this:
21 0 8 7 6 5 5
7 8... (4 Replies)
Hi,
I have file a.txt as below. I want to add one string root beginning of each line.
Sample file a.txt
aaa
bbb
ccc
Sample output
Root aaa
Root bbb
Root ccc
Can any one help me on this? (6 Replies)
Dear Friends,
I have a flat file where last line of it has word D$mhtt
I want to add a space and back slash after it.
Also wanna add -S "J" in the last line.
Following example will make it clear.
I have this in the last line of file
D$mhtt
I want
D$mhtt \
-S "J"
Please... (5 Replies)
I have a tab delimited text file,
id name distance
1 3325167 0.334561754018
2 3290488 0.389444269458
3 3288794 0.392312701782
4 3347602 0.392532202097
5 3295355 0.394394169485
I need to add a line after the header line. The first and third field of... (3 Replies)
I have a report file which somewhere has a lines starting with word ".sub"
I have a new variable named $new.
What i am trying to do is insert the content of $new just before the occurrence of ".sub" in the report file.
How can I do that? (11 Replies)
Hey guys,
I need to write a script that will add a specific text at the end of a specific line (of a text file). but the line is a variable
this is my text file :
device_2 ansible_ssh_host=127.0.0.1 ansible_ssh_port=30000 ansible_ssh_user='root'
device_2 ansible_ssh_host=127.0.0.1... (1 Reply)
Hi,
I am doing something like below:
cat file1>file3and
cat file2>>file3
I wanted to check if there is a way to write a custom message(hardcoded message)something like below at the beginning of each line then PIPE delimitiation and then followed by remaining record.
cat file1... (7 Replies)
the first line of every unix script written in an interpreted language always has a "#!<path-to-the-language>"
is there a way to include other text in that first line without it affecting the ability of the script to run???
for instance, if i change the following line:
#!/bin/sh
echo blah... (1 Reply)
Discussion started by: SkySmart
1 Replies
LEARN ABOUT DEBIAN
mixmaster-filter
MIXMASTER-FILTER(1) mixmaster-filter MIXMASTER-FILTER(1)NAME
mixmaster-filter - Wrapper around mixmaster that removes unwanted header lines
SYNOPSIS
mixmaster-filter
DESCRIPTION
mixmaster-filter is a wrapper around mixmaster. It will filter out header lines which may endager your anonymity.
All but a few options are passed on to mixmaster as is. If you specify -m, -g, -l or -n (see mixmaster(1)) then STDIN is filtered,
otherwise mixmaster is executed as is.
It is intented to be used from Mail User Agents like the mutt(1) email reader.
OPTIONS --mixmaster=MIXMASTER
Set the path to the mixmaster binary.
--configfile=FILTERCONFIGFILE
Set a config file for mixmaster-filter.
--help
Print a brief help message and exit successfully.
--version
Print a version information and exit successfully.
All other options are passed through to mixmaster.
FILES --configfile parameter
MIXMASTER_FILTER_CONF environment
~/.Mix/filter.conf
/etc/mixmaster/filter.conf
The first file that is found is used.
FILEFORMAT
The configuration file for mixmaster-filter is simple. Lines with whitespace only are ignored as are lines that have the hash our pound
("#") sign as their first non whitespace character.
Lines are always truncated at the first hash our pound ("#") sign.
The first logical line gives the filtering policy. It's either "FILTER" or "ALLOW".
All other lines are taken as a list of Headers.
If your policy is "FILTER" headers in your list will get removed from messages.
If your policy is "ALLOW" only headers in your list will be passed to mixmaster.
ENVIRONMENT
MIXMASTER_FILTER_CONF
Config file to use
HOME
Your homedirectory. Used for finding your user configuration file. Also the default destination directory is $HOME/.Mix/
SEE ALSO mixmaster(1)BUGS
It is far from perfect but should handle most standard cases satisfactorily.
Please report them to the Debian Bug Tracking System as described at "http://bugs.debian.org/" or use a tool like reportbug(1).
AUTHOR
Peter Palfrader, <peter@palfrader.org>
$Revision: 459 $ 2013-02-08 MIXMASTER-FILTER(1)