Hi, I wonder if anyone can help me. I have a file with about 200 lines in it. I am wanting to set up a Count so that it picks out each line at turn and edits the line. However i am having trouble pulling out the specific line. I have a feeling it will be done somehow by a grep -n but what ever i... (2 Replies)
Hi All,
I am having a script in which I am greping some values and storing them from files with .err and .log extensions.
I feel I can do it better.But How?
Below is my piece of code.
oneerrors=`egrep -i -n "one" *.err *.log`
twoerrors=`egrep -i -n "two" *.err *.log` ... (2 Replies)
OKAY----
Here's what I must do.
I have two files. I need to compare the two files such as with the diff command. I am adding FILENEW to FILEOLD
If fields $1, $2, $5, and 6 are the same, then I don't want to add FILENEW records to FILEOLD.
If they are not, then append the lines.
Is... (11 Replies)
Hi
I have two files
File 1
alias HOME =..
alias DATA = ${DATA}/runtime1/test
alias SQL = ${DATA}/find1dir/test
alias SQL1 = ${HOME}/sql/orcl
alias SQL2 =... (2 Replies)
Hi All
I want to send a file thru a mail with an attachment.
i tried using uuencode , but it says
"bash: uuencode: command not found"
and the same i am getting for mutt as well:
"bash: mutt: command not found"
Tried searching in all the forums but could not find anything... (2 Replies)
I have a log file and I have two unique strings which represent the start and end of the text I want to obtain.
How can I get all the text inbetween this start string and the end string?
Thanks (2 Replies)
Hi,
What is the easiest way to list a directory with 1000s of filenames, grep it for a certain sequence of numbers, and if found to rename the file by the value you are grepping.
eg
The file I am examining will looks like this:
1234
1224343
2324
244
35665
If I am examining a list... (1 Reply)
Hi All,
I need help to know the exact command when I grep large list of files. Either using ls or find command. However I do not want to find in the subdirectories as the number of subdirectories are not fixed. How do I achieve that.
I want something like this:
find ./ -name "MYFILE*.txt"... (2 Replies)
I have around 300 files(*.rdf,*.fmb,*.pll,*.ctl,*.sh,*.sql,*.prog) which are of large size.
Around 8000 keywords(which will be in the file $keywordfile) needed to be searched inside those files.
If a keyword is found in a file..I have to insert the filename,extension,catagoery,keyword,occurrence... (8 Replies)
Hey guys,
I have wrote the following script to apply a module named "trinity" on my files. (it takes two input files and spit a trinity.fasta as output)
#!/bin/bash -l
#SBATCH -p node
#SBATCH -A <projectID>
#SBATCH -n 16
#SBATCH -t 7-00:00:00
#SBATCH --mem=128GB
#SBATCH --mail-type=ALL... (1 Reply)
Discussion started by: @man
1 Replies
LEARN ABOUT DEBIAN
dh_installlisting
DH_INSTALLLISTING(1) User Contributed Perl Documentation DH_INSTALLLISTING(1)NAME
dh_installlisting - install .listing files to be used by desktop-profiles package
SYNOPSIS
dh_installlisting [debhelper options] [filename(s)]
DESCRIPTION
dh_installlisting is a debhelper program that handles installing listing files used by the desktop-profiles package into the correct
location in package builddirectories (NOTE: this command is provided by the desktop-profiles package, so don't forget to build-depends on
it). It also updates the cache of profile assignments (when it exists) to reflect the added metadata.
If a file named debian/package.listing exists (or debian/listing in case of the main package) it is installed in etc/desktop-profiles. In
addition any files given as argument will be installed in etc/desktop-profiles as package_file.listing. The format of .listing files is
described in desktop-profiles(7).
A dependancy on desktop-profiles will be added to misc:Depends by using this script.
SEE ALSO debhelper(7)desktop-profiles(7)update-profile-cache(1)AUTHOR
Bart Cornelis (cobaco) <cobaco@skolelinux.no>
perl v5.14.2 2006-12-13 DH_INSTALLLISTING(1)