10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have been extracting a row, based on multiple key word from a xls/csv file, by using the following command. I have to implement the same for multiple xls/csv files, therefore please help me to do the same.
awk '
{ tbp=0
if ($0 ~ keyword1 && k1 == 0) { tbp=1; k1++ }
if ($0 ~ keyword2... (2 Replies)
Discussion started by: dineshkumarsrk
2 Replies
2. Programming
Hello, could anybody explain how the ps command works? I know something about the proc file system. But I'm still not sure about how it exactly works. Like ps without any option will print out the current user's processes, but it never displays my web browsers such as firefox or my LibreOffice... (3 Replies)
Discussion started by: freedombird9
3 Replies
3. Shell Programming and Scripting
I need to run a command n (n >= 100) times and the command running may take about 30 seconds. Can anyone help me with the shell script to achieve this? Thanks in advance. (5 Replies)
Discussion started by: zwei2011
5 Replies
4. Shell Programming and Scripting
I have file which contains around 5000 lines.
The lines are fixed legth but having no delimiter.Each line line contains nearly 3000 characters.
I want to delete the lines
a> if it starts with 1 and if 576th postion is a digit i,e 0-9
or
b> if it starts with 0 or 9(i,e header and footer)
... (4 Replies)
Discussion started by: millan
4 Replies
5. Shell Programming and Scripting
Hi,
I have a file a.txt having no delimiter.
I want to exclude the line which contains 435th character as 1 or 2 and redirect the rest of the lines to another file b.
Can you pls suggest how to do this in one liner awk.
Following is just one line of the input file a:-
120110116 ... (10 Replies)
Discussion started by: millan
10 Replies
6. Shell Programming and Scripting
hi
i have a file like
1,"A","B"
2,"C","D"
1,"E","F"
3,"G","H"
in output i need like
3,"G","H"
1,"E","F"
2,"C","D"
1,"A","B" (12 Replies)
Discussion started by: angel12345
12 Replies
7. Shell Programming and Scripting
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies
8. Shell Programming and Scripting
Hi all, i'm quite new in the UNIX world. So maybe i'm going to ask simple questions but they are unsolvable for me...
I'm trying to implement the 'more' function or kinda of that, for improving my knowledges. But I encountered some problems that i hope u will help me to solve.
The code i... (0 Replies)
Discussion started by: Cellofan
0 Replies
9. Shell Programming and Scripting
Hi all,
could any of you please help me on my problem..
we are doing FTP (one report out put) from one server to another server through unix shell script program.
Due to the network issues, some times FTP process is hanging.
So we planned to modify the existing program with the following... (2 Replies)
Discussion started by: kishore_jasthi
2 Replies
10. UNIX for Advanced & Expert Users
how can i use a rlogin with out entered a password,
someone tell me about configure the next files
/.rhosts
/etc/hosts.equiv and /etc/hosts
but i not sure about that, or there are not enough
could you tell me how to do that? (3 Replies)
Discussion started by: jav_v
3 Replies
MKCOVER(8) System Manager's Manual MKCOVER(8)
NAME
mkcover - HylaFAX continuation cover page generation command
SYNOPSIS
/var/spool/hylafax/bin/mkcover qfile template result
DESCRIPTION
bin/mkcover is the command invoked by the facsimile server when a continuation cover page is required for an outbound job that is about to
be retried. It generates a single POSTSCRIPT(R) page that is imaged according to the remote capabilities and transmitted as the cover
page. The arguments are:
qfile the job description file for the outbound job.
template the cover page template file, as used by the faxcover(1) program.
result the filename where the resultant POSTSCRIPT document should be written.
The default mkcover command is a shell script that uses awk(1) to parse the job description file and generate the cover page document. The
template file may be optionally compressed with compress(1), pack(1), or gzip(1); the filename suffix is used to decide whether or not the
template file contains compressed data.
SEE ALSO
faxq(8), hylafax-config(5), sendq(5)
June 20, 1994 MKCOVER(8)