Hi, I did some modification with your code.
Now it may works as you want, but may not all of the columns could format print beautifully.
And I must go to sleep now~
Good night.
This User Gave Thanks to Lucas_0418 For This Post:
i have a script that checks inside the file and find the start date and end date with time...........
#!/bin/ksh
cd /ednadtu3/u01/pipe/logs
TZ=`date +%Z`+24 ;b=`date +%Y-%m-%d`
echo $b
for i in DBMaint.log
do
echo "Start Time:" >> /ednadtu3/u01/pipe/naveed/Report.txt
cat $i | grep... (3 Replies)
I am using awk command for greping an value from the file
the file contains ..
file
----------------------------
content-----------
--------
String main = "81507066666";
------------------------------
i am greping the above value using awk command
NumberToReplace=`cat "file" | grep... (1 Reply)
Hi i am using shell script which perform oracle database query and after that output is redirect to some temporary file.
the output of this file looks like
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Aug 5 16:08:06 2008
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
... (6 Replies)
This morning I see on one of our monitors that we have a server with the filesystem /phrases 100% full. Looking at it, I see 4 phrases*.icp files which are big and were created around midnight. I asked the previous operator what was running at that time (batch processing transaction files) and from... (0 Replies)
I have a list of postal addresses and I need to pull the records that match a list of zip codes in a separate file. The postal addresses are fixed width. The zip code is located in character position 149-157.
Something better than: cat postalfile.txt | grep -f zipcodes.txt
would be great.
$... (8 Replies)
Hi
When I run this command:
lsuser -a auditclasses ALL
I got:
user1 auditclasses=general,objects,cron,files,rbac,audit,lvm,aixpert
user2 auditclasses=general,objects,cron,files,rbac,audit,lvm,aixpert
user3 auditclasses=general,objects,cron,files,rbac,audit,lvm,aixpert
user4... (7 Replies)
Hi all - I''m in a little bit of jam - If you can please help
I have a file that has the following content ( please see below)
I need to read the file and then get this result in this format
------------- To put out in this format
name: sophis Total: 22328
name: tca ... (2 Replies)
Hi All,
I have 100's of files in the following format. I need to grep or parse out some values from each of the files
{
“tree”: “((A:0.2{0},B:0.09{1}):0.7{2},C:0.5{3}){4};”,
“placements”:
, ], “n”: },
{“p”: ], “n”: }
],
“metadata”:
{“invocation”:
“pplacer -c... (1 Reply)
Hi,
I do have couple of files in folder. The names of each of the files have a pattern.
B_A17_A17_1T.txt
B_A17_A17_2T.txt
B_A17_A17_3T.txt
B_A17_A17_7T.txt
.....
.....
B_A17_A17_45T.txt
Each of the above files have the same pattern of data with 4 columns and have an header for... (10 Replies)
I'm thinking to replace many of the buttons like "Reply" or "Thank You" with custom, modern, space age'e looking fonts.
When I was game-engine programming in Unity last year, I used fonts like "Terminator" and "Neuropol" and "Space Age" and "Jupiter".
At the moment, I cannot get "Neuropol" to... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT PLAN9
index
0intro 0intro intro 0intro 2a 2a 6a 2a 8a 2a ka 2a va 2a xa 2a 2c2c 6c 2c 8c 2c kc 2c vc 2c xc 2c 2l 2l 6l 2l 8l 2l kl 2l vl 2l xl2l 81/2 81/2 label 81/2 window 81/2 wloc 81/2 acid acid acme acme
awd acme win acme 8al alef alef alef kal alef val alef ar ar artart art2pic art ascii ascii unicode ascii awk awk basename base-name bc bc bind bind mount bind unmount bind bundle bundle c++c++ c++/2c c++ c++/2l c++ c++/8c c++ c++/8l c++ c++/kc c++ c++/kl
c++ c++/vc c++ c++/vl c++ cal cal calendar calendar cat cat read
cat char char rschar char 1/2char char chgrp chgrp chmod chmod
cmp cmp comm comm con con cu con rx con telnet con xmr con xmscon cp cp mv cp cpp cpp cpu cpu date date db db dc dc dd dd dela-tex deroff deroff deroff diff diff doctype doctype du du echoecho ed ed emacs emacs eqn eqn factor factor primes factor filefile fmt fmt fone fone fortune fortune freq freq 4s games 5s
games ana games catclock games clock games festoon games fire-works games fsim games games games life games mandel games plumbgames smiley games swar games grap grap graph graph grep grep gsgs hoc hoc hp hp join join broke kill kill kill ktrans ktrans lexlex look look lp lp lc ls ls ls aliasmail mail edmail mail mailmail seemail mail sendmail mail smtp mail smtpd mail to mail vis-mon mail vwhois mail lookman man man man mc mc membername mk mkmk mkdir mkdir mothra mothra netstat netstat news news nm nm p p
page page netkey passwd passwd passwd pcc pcc pic pic tpic picplot plot ppp ppp pppclient ppp pppserver ppp pr pr kprof profprof prof proof proof ps ps psu ps pbd pwd pwd pwd cd rc eval rcexec rc exit rc flag rc rc rc rfork rc shift rc wait rc whatis rc
~ rc rm rm B sam sam sam sam.save sam sed sed seq seq size size
sleep sleep sort sort spell spell sprog spell spin spin split
split start stop stop stop strings strings strip strip md5sum sumsum sum syscall syscall tail tail 32vfs tapefs cpiofs tapefstapefs tapefs tapfs tapefs tarfs tapefs tpfs tapefs v10fs tapefs
v6fs tapefs tar tar tbl tbl tcs tcs tee tee iwhois tel tel teltest test bibtex tex dvips tex dviselect tex latex tex mf tex textex time time touch touch tr tr nroff troff troff troff tweaktweak twig twig uniq uniq units units ki vi vi vi xi vi wc wc whowho whois who xd xd yacc yacc yesterday yesterday