02-28-2015
Quote:
Originally Posted by
Don Cragun
Is there some reason why these lines should have been deleted from the output?
Thank you Don.. its should be printed but i miss it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how to use "tr" command to display horizontal line to vertical line
for vertical to horizontal, the command is tr '\n' '\t' <inputfile
but what is the command for horizontal to vertical
Thanks
Vasikaran (3 Replies)
Discussion started by: vasikaran
3 Replies
2. Shell Programming and Scripting
I want to draw a horizontal and vertical line on Unix. Please suggest some solution. (11 Replies)
Discussion started by: allways4u21
11 Replies
3. Shell Programming and Scripting
Hi,
I have a file like below
robert
PREF: 3
AVAIL:
henry
PREF: 234
AVAIL:
john
PREF: 145,178
AVAIL: 123
matt
PREF: 564,932
AVAIL:
ten
PREF: 389
AVAIL: kill (2 Replies)
Discussion started by: rocky1954
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Silly question, if I have an excel file that looks something like this:
................. Subject 1 Subject 2 Subject 3 Subject 4
Fever..............13...........9.............23..........14
Headache.........2............12...........18..........23... (3 Replies)
Discussion started by: Xterra
3 Replies
5. UNIX for Dummies Questions & Answers
How to move a vertical line to Horizontal line.....Can i use a tr command?
code is:
StudentID
Java
.Net
C#
I want to move this line like this:
StudentID Java .Net C#
Please use
code tags! (3 Replies)
Discussion started by: Arsh10
3 Replies
6. Shell Programming and Scripting
Hi,
Need help unix command to change this :
become this
Anyone can help me?:wall: (2 Replies)
Discussion started by: justbow
2 Replies
7. Shell Programming and Scripting
Need perl or shell script to sort vertical lines to horizontal line in csv format
My file like below
-------------------------
================================================================================
PATH PINKY1000#I1-1-ZENTA1000-2#I7-1-ASON-SBR-UP-943113845 ... (4 Replies)
Discussion started by: sreedhargouda.h
4 Replies
8. Shell Programming and Scripting
Hi,
I have log like this :
And i want the output like below :
I have try using awk but doesn't work
awk '
/ffff /{ts=$1}
f && /SectorAntenna\=1/{sa1=$3}
f && /SectorAntenna\=2/{sa2=$3}
f && /SectorAntenna\=3/{sa3=$3}
{
s= ts "|" sa1 "|" sa2 "|" sa3
print s
f=0
}' (7 Replies)
Discussion started by: justbow
7 Replies
9. Shell Programming and Scripting
51009
8746
8912
17986
20315
24998
5368
38934
7805
8566 (4 Replies)
Discussion started by: nikhil jain
4 Replies
10. Shell Programming and Scripting
Hi,
cat log
EPC-SubsId: 3333
EPC-GrIds: RTGHUPA:1:15-11-2013T19:59,22-11-2013T19:59
EPC-GrIds: PrimaXGB_23:10
EPC-SubsId: 4444
EPC-GrIds: RTGHUPB:1:15-11-2013T19:59,22-11-2013T19:59
EPC-SubId: 5555
EPC-GrIds: RTGHUPC:1:15-11-2013T19:59,22-11-2013T19:59
EPC-SubsId: 6666... (1 Reply)
Discussion started by: justbow
1 Replies
LEARN ABOUT DEBIAN
approx-gc
APPROX-GC(8) System Manager's Manual APPROX-GC(8)
NAME
approx-gc - garbage-collect the cache of Debian archive files
SYNOPSIS
approx-gc [OPTION]...
DESCRIPTION
approx-gc scans the cache created by approx(8) and finds files that are corrupted or no longer needed. With no options specified, these
files are listed on standard output and removed from the cache.
A corrupted file is one whose size or checksum does not match the value specified in the Packages or Sources file.
An unneeded file is one that is not referenced from any distribution's Packages or Sources file.
approx-gc may take several minutes to finish.
OPTIONS
-c file, --config file
Specify an additional configuration file. May be used multiple times.
-f, --fast
Don't perform checksum validation.
-k, --keep, -s, --simulate
Don't remove files from the cache.
-q, --quiet
Don't print file names.
-v, --verbose
Print the reason for removal of each file.
EXAMPLES
To remove all unneeded or corrupted files from the cache:
approx-gc --quiet
This is run as a weekly cron(8) job.
To list the files that would be removed from the cache, without actually doing so:
approx-gc --keep
FILES
/etc/approx/approx.conf
Configuration file for approx and related programs.
/var/cache/approx
Default cache directory for archive files.
SEE ALSO
approx.conf(5), approx(8), cron(8)
AUTHOR
Eric Cooper <ecc@cmu.edu>
May 2011 APPROX-GC(8)