I wanted to put "|" this sign at starting and at end of every field but its not working with first field like
Currently the out put is :
abc | abc | abc |
xyz | xyz | xyz |
But I want the out put in this form:
| abc | abc | abc |
| xyz | xyz | xyz |
plz help me. (2 Replies)
Hi,
I have a script in which an entry like this .....
FILENAME_B="PIC_${DATE}0732*.JPG"
The script connects to an ATM and pull a pic file from it.The format for the file is like PIC_2008061400000001.JPG in the ATM.
Means 1st 8 digit is the date(YYYYMMDD) field
2nd 8 digit means hrs... (2 Replies)
hi
i am running script which contains the commmnds and i am redirecting the script output to a file.
like
./script 1> result.txt 2>&1
the above redirection is not working for commands when run in background in a script.
but the problem here result.txt containg output which is repeated.... (3 Replies)
Hello Guys,
I am working on a script and using the below code to fetch the list of all repositories
CHDIR='/mnt/scm/subversion/'
repolist()
{
cd ${CHDIR}
Repo=`ls|cut -d " " -f1`
echo $Repo
}
Output of the above code is
BSB CIB COB DCI DIB DSB ESB-P ESB-TOOLS FareVerify GCACHE GWY... (15 Replies)
Below is the my cide which is working fine but I am not getting the output indesired format.there is some problem in alignment.Can someone help me to correct this?
if ];
then
summary=$(
echo -e "Please review the log file of auto coloclean utility.\n";
echo -e... (2 Replies)
Hi All , i have a CSV file , pattern is given below :-
Group # name # host # account # stop # # start # # check
--------------------------------------------------------------------------
file format and data exmaple :-
RBP2,RB0112,sihrb001,tksrb011,. ./.profile 1>/dev/null 2>&1;stop_olc_dmn... (0 Replies)
Am in need of your help to get the desired output.
nameSECURITY.SERVICES.CONFIG:GETVALUEisPrefetchedNsAccessLast2013-09-13 10:50:13 MESTsAccessTotal1sRunningcHitLastnamePUBLIC.SERVER:INVOKEisPrefetchedNsAccessLast2013-09-17 15:02:05... (5 Replies)
Hi guys.
I have a file containing some hosts and their IPs.
host host1 192.168.2.10
host host2 192.168.2.11
host host3 192.168.2.12
I am writing a script where I want to print these values in 1 line. My script looks like
RUNTIME_NODE=`cat hosts.properties | grep host`
for i in... (7 Replies)
Hi,
I'm trying to filter the following output to only display information about an alarm where the Status: corresponds to Set.
--------------------------------------------------------
Description: hw_optics: RX POWER LANE-0 LOW ALARM
Location: Optics0/0/0/21... (6 Replies)
Discussion started by: sand1234
6 Replies
LEARN ABOUT DEBIAN
oarresume
oarresume(1) OAR commands oarresume(1)NAME
oarresume - resume a job in OAR batch scheduler.
SYNOPSIS
oarresume [--array][job_ids][--sql "sql syntax"][-V][-h]
DESCRIPTION
Ask OAR to change job_ids states into Waiting when it is Hold or in Running if it is Suspended.
OPTIONS --array
Resume array job(s) passed as parameter (all the sub-jobs of the given array job(s))
--sql
Resume jobs which repond to the SQL where clause on the table jobs (ex: "project = 'p1'")
-V, --version
Print OAR version number.
-h, --help
Print help command message.
oarsub(1), oardel(1)oarstat(1), oarnodes(1), oarhold(1)COPYRIGHTS
Copyright 2008 Laboratoire d'Informatique de Grenoble (http://www.liglab.fr). This software is licensed under the GNU Library General Public License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
oarresume 2012-05-23 oarresume(1)