hi,
i wat to get the output of a grep command in a file. but when i am trying out the same grep command in the unix prompt its working fine.. i am getting the output properly.. but when i am writing the same command inside my shell script , its just creating a new output file with no contents... (1 Reply)
I have a command nested in some while loops to parse some data that looks something like this.
while ($condition)
while ($condition)
...
gzcat /dir/$fileName.gz | grep $searchString > out_file
end
end
On the first loop, the command is executed properly (and takes maybe 10... (3 Replies)
here is a typical question for everyone ...
How to convert a given shell script to binaric command along with its shell script switches.
Any !dea (1 Reply)
Hi All,
Is there any way to monitor a command inside shell script ? I have a script inside which I have a tar command which zips around 200GB data.
tar zcvf $Bckp_Dir/$Box-BaseBackup-$Day.tar.gz * --exclude 'dbserver_logs/*' --exclude postmaster.pid --exclude 'pg_xlog/*'
I want to... (3 Replies)
Hi guys. Good day, morning, afternoon or night, depending on where you live.
I have a script shell in which I am looping on files (absolute path) see code section above.
I always have an error: bad substitution.
:wall:
Is it because my variable file is the index of the loop and not a normal... (4 Replies)
hii,,
I am trying to automate jira. during my scripting using bash script, in the terminal i got the terminal message like this:
"Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you... (1 Reply)
Hello Unix Shell Script Experts,
I have a script that would mask the columns in .csv file or .txt file.
First the script will untar the .zip files from Archive folder and processes into work folder and finally pushes the masked .csv files into Feed folder.
Two parameters are passed
... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
This script will analyse the channels.txt e registrations.txt and it will allow to mage the channels and the... (9 Replies)
Discussion started by: Demas
9 Replies
LEARN ABOUT FREEBSD
ctfmerge
CTFMERGE(1) BSD General Commands Manual CTFMERGE(1)NAME
ctfmerge -- merge several CTF data sections into one
SYNOPSIS
ctfmerge [-fgstv] -l label -L labelenv -o outfile file ...
ctfmerge [-fgstv] -l label -L labelenv -o outfile -d uniqfile [-g] [-D uniqlabel] file ...
ctfmerge [-fgstv] -l label -L labelenv -o outfile -w withfile file ...
ctfmerge [-g] -c srcfile destfile
DESCRIPTION
The ctfmerge utility merges several CTF data sections from several files into one output file, unifying common data.
The following options are available:
-f Match global symbols to global CTF data.
-g Don't delete the original debugging sections.
-s Use the .dynsym ELF section instead of the .symtab ELF section.
-t Make sure that all object files have a CTF section.
-v Enable verbose mode.
-l label
Sets the label as label.
-L labelenv
Instructs ctfmerge to read the label from the environment variable labelenv.
-o outfile
Use outfile to store the merged CTF data.
-d uniqfile
Uniquify against uniqfile.
-d uniqlabel
Uniquify against label uniqlabel
-w withfile
Additive merge with withfile.
-c srcfile destfile
Copy CTF data from srcfile into destfile.
EXIT STATUS
The ctfmerge utility exits 0 on success, and >0 if an error occurs.
SEE ALSO ctfconvert(1), ctfdump(1)HISTORY
The ctfmerge utility first appeared in FreeBSD 7.0.
AUTHORS
The CTF utilities came from OpenSolaris.
BSD July 7, 2010 BSD