Slight variation to Akshay's approach:
--
Note, when using printf it is best to not leave printf's format field open, so printf "%s ", $0, or printf "%s", $0 OFS rather than printf $0 OFS
Last edited by Scrutinizer; 02-21-2015 at 09:39 PM..
Dears,
I have the below data,
sss-aaaaaa
111211 222222 33333 22222 1163111
sss-vvvvvv
111311 224522 335633 24322 111511
sss-cccccc
111221 224522 333333 24322 111511
sss-dddddd
111211 222222 33333 22345222 113111
I want to make them like
... (7 Replies)
Hi all,
This is program to identify and arrange programs(scripts) based on their she-bang values to a folder with the same name.
The parts of mkdir and copy and creating problems.I also doubt the use of hash...maybe some problems in it.
Please help out debugging this.
Code pasted at:
Paste... (2 Replies)
Hello,
I am new to Linux, and I am learning slowly but for surely. I am trying to currently figure out how to go about re-arranging lines of text of a *.txt file... Like for example:
Say pool.txt has 20 lines of text, and the last 5 lines of text I want to move to the top of the *.txt file... (2 Replies)
Hello Guys,
I have around 100 hosts setup as alias in my profile for easy sshing.
alias ada='ssh -Y username@da.domain.com'
alias ast='ssh -Y username@terix.domain.com'
alias bb1='ssh -X username@ggserver.ns.domain.com'
.
.
.
.
I now would like to use sshmenu software in which... (4 Replies)
Hi there!
Can this be done with AWK? Several text files (file1, file2, etc) with different number of lines. Need to append each file to a Reference File (ReFile), and match each line of file1, file2 etc to the closest value in ReFile. Empty cells must be filled with NA, or 0. The number of lines... (2 Replies)
Hello All,
Please find attached input and output files. I want to write a shell script to achieve this. I tried using awk but not getting how to do this as I am new to shell programming.
Thanks (4 Replies)
Hi,
Please give a solution...
Current File
200101701 A 5 B 283 D 222
200085506 A 5 B 6 C 304
200081406 A 5
200101784 D 1111Desired Output
200101701 A 0005 B 0283 * * D 222 ... (4 Replies)
I am trying to run 2 sets of commands but want their output in a particular format.
The 2 commands are :
md5sum $WAR_DIR/$war
and
java -jar $WAR_DIR/$war | grep build.release.version | awk '{print $3}'
The first command gives an output of
5f5261a33b92a36f80218cf14e8271ad ... (4 Replies)
By using this code how can we get the stars in inverted positions?
str="*"
for i in 1 2 3 4 5
do
echo "$str"
str="$str *"
done
The output should be like this
* * * * *
* * * *
* * *
* *
*
Please use CODE tags as required by forum rules!... (5 Replies)
Discussion started by: Meeran Rizvi
5 Replies
LEARN ABOUT ULTRIX
qmail-start
qmail-start(8) System Manager's Manual qmail-start(8)NAME
qmail-start - turn on mail delivery
SYNOPSIS
qmail-start [ defaultdelivery [ logger arg ... ] ]
DESCRIPTION
qmail-start invokes qmail-send, qmail-lspawn, qmail-rspawn, and qmail-clean, under the proper uids and gids. These four daemons cooperate
to deliver messages from the queue.
qmail-start arranges for qmail-send's activity record to be sent to qmail-start's output. See qmail-log(5) for the format of the activity
record. Other than this, qmail-start does not print anything, even on failure.
If defaultdelivery is supplied, qmail-start passes it to qmail-lspawn.
If logger is supplied, qmail-start invokes logger with the given arguments, and feeds qmail-send's activity record through logger.
Environment variables given to qmail-start will eventually be passed on to qmail-local, so make sure to clean up the environment if you run
qmail-start manually:
# env - PATH="/var/lib/qmail/bin:$PATH"
qmail-start ./Mailbox splogger qmail &
(all on one line)
Resource limits, controlling ttys, et al. are also passed from qmail-start to qmail-local.
Note that qmail-send normally juggles several simultaneous deliveries. To reduce qmail-send's impact on other programs, you can run qmail-
start with a low priority.
SEE ALSO logger(1), splogger(1), nice(1), qmail-log(5), qmail-local(8), qmail-clean(8), qmail-lspawn(8), qmail-rspawn(8), qmail-send(8)qmail-start(8)