08-23-2018
Dear Rudic,
Have just got the meaning of [] notation now,
Output is the same as I expected. Thank you so much! You are a star!
Kind regards
Boris
Last edited by baris35; 08-23-2018 at 05:48 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am having some trouble cut and paste a file based on the content of another file.
I have a file called draft. I need to cut and paste its content to another file based on the content of a file called proc.txt
The content of proc.txt is like the following:... (7 Replies)
Discussion started by: tiger99
7 Replies
2. Shell Programming and Scripting
Hi,
how can we search for a word (with case ignore )on specific line numbers
ex:
Awk /^regEX/ with condition on first line or second line
Awk/^ regex1/ on line 1
Awk /^regEX2/ on line 3
thanks in advance (4 Replies)
Discussion started by: rider29
4 Replies
3. Shell Programming and Scripting
Is there a way to grep only one line from a file listing name of files?
If I use head -1 it's ok(the first line only)
If I use head -2 it's not good because I have already checked the first line.
I'd like something like this:
while test $i -le $max
do
grep "$3" `head -$i temp.txt` >... (4 Replies)
Discussion started by: Max89
4 Replies
4. Shell Programming and Scripting
Hello!
I need to delete one line in a file which matches one very precise instance of a string only. When searching the forum I unfortunately only found a solution which would delete each line on which a particular string occurs.
Let's assume I have a file composed of thousands of lines... (4 Replies)
Discussion started by: Black Sun
4 Replies
5. Shell Programming and Scripting
Dear All
I want to search string "1000" from input file and if it found i want remove line that contain 1000 and also remove 3 line above it and 2 line below it.
INPUT FILE:
BHAT-D 2
aaa
ID CODE GS UPDATE MODE LANG MCO MCL NUMPAGES
50 ... (7 Replies)
Discussion started by: jaydeep_sadaria
7 Replies
6. Programming
I have a file on UNIX system from where I want to grep the list of all users associated to the particular repository.If the user's list is in single line then I fetch all list but if it is in two separate lines it doesn't.I use the below command
a=KESTREL-DEV;b=users;cat access_file|grep... (1 Reply)
Discussion started by: rohit22hamirpur
1 Replies
7. Shell Programming and Scripting
Hi,
1_strings file contains
$ cat 1_strings
/home/$USER/Src
/home/Valid
/home/Review$ cat myxml
<projected value="some string" path="/home/$USER/Src">
<input 1/>
<estimate value/>
<somestring/>
</projected>
<few more lines >
<projected value="some string" path="/home/$USER/check">... (4 Replies)
Discussion started by: greet_sed
4 Replies
8. Shell Programming and Scripting
Suppose i have the following data :
cat file.txt
12431,123334,55353,546646,14342234,4646,35234
123123,3535,123434,132535,1234134,13535,123534
123213,545465,23434,45646,2342345,4656,31243
2355425,2134324,53425,342,35235,23434,234535
3423424,234234,65465,,2344,35436,234524,234... (7 Replies)
Discussion started by: Ravi Tej
7 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I would like to comment a line that matched a string "sreenivas" in a file without opening it.
Thanks in advance.
Regards,
Sreenivas (3 Replies)
Discussion started by: raosr020
3 Replies
10. Shell Programming and Scripting
Hi guys,
I am running a while loop in a script ro read a file line by line.
Now I want to run a grep only on the lines below the line I am that is being read by the while loop.
Eg:
If my while loop is on line 4 of the file, the grep only runs below line 4 and does not include line 1,2... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
LEARN ABOUT DEBIAN
biber::output::base
Biber::Output::base(3pm) User Contributed Perl Documentation Biber::Output::base(3pm)
NAME
Biber::Output::Base - base class for Biber output modules.
new
Initialize a Biber::Output::Base object
set_output_target_file
Set the output target file of a Biber::Output::Base object
A convenience around set_output_target so we can keep track of the
filename
set_output_target
Set the output target of a Biber::Output::Base object
set_output_head
Set the output head of a Biber::Output::Base object
$data could be anything - the caller is expected to know.
set_output_tail
Set the output tail of a Biber::Output::Base object
$data could be anything - the caller is expected to know.
get_output_head
Get the output head of a Biber::Output object
$data could be anything - the caller is expected to know.
Mainly used in debugging
get_output_tail
Get the output tail of a Biber::Output object
$data could be anything - the caller is expected to know.
Mainly used in debugging
add_output_head
Add to the head output data of a Biber::Output::Base object
The base class method just does a string append
add_output_tail
Add to the tail output data of a Biber::Output::Base object
The base class method just does a string append
set_output_section
Records the section object in the output object
We need some information from this when writing the .bbl
get_output_section
Retrieve the output section object
get_output_entries
Get the sorted order output data for all entries in a list as array ref
get_output_entry
Get the output data for a specific entry.
Used really only in tests as it instantiates list dynamic information so
we can see it in tests
set_los
Set the output list of shorthands for a section
get_los
Get the output list of shorthands for a section as an array
set_output_entry
Add an entry output to a Biber::Output::Base object
The base class method just does a dump
create_output_misc
Create the output for misc bits and pieces like preamble and closing
macro call and add to output object.
create_output_section
Create the output from the sections data and push it into the
output object.
set_output_keyalias
Set the output for a key which is an alias to another key
set_output_undefkey
Set the output for an undefined key
output
Generic base output method
AUTHORS
Francois Charette, "<firmicus at ankabut.net>" Philip Kime "<philip at kime.org.uk>"
BUGS
Please report any bugs or feature requests on our sourceforge tracker at <https://sourceforge.net/tracker2/?func=browse&group_id=228270>.
COPYRIGHT & LICENSE
Copyright 2009-2012 Francois Charette and Philip Kime, all rights reserved.
This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
perl v5.14.2 2012-06-17 Biber::Output::base(3pm)