Hi all,
I have a text file and I want to clean up the file by only print those lines start with the date. Is there anyway I can do that?
Thanks
CT (1 Reply)
Hi ALL,
I want to print lines from file using certain conditions
for exmple:
# The following commands will create a new control file and use it
# to open the database.
# The contents of online logs will be lost and all backups will
# be invalidated. Use this only if online logs are... (25 Replies)
It my first post here .
I just want to get the content of the file as values for printinting along with line number in LINUX
Here is what I tried .
$ cat test1.txt
ABC
DSF
GHI
JKL
MNO
PQR
STU
VWX
YZO
$ cat test.sh
#!/bin/ksh (4 Replies)
Hi All,
File that I have:
<ct>
<name>group
<value>1
<value>2
<value>3
</ct>-->file
The output that I needed is
<ct>
<name>group
<value>1 -->file1
<ct>
<name>group
<value>2 -->file2 (6 Replies)
Hi all,
This should be very easy but I can't figure it out...
I have a file that looks like this:
@SRR057408.1 FW8Y5CK02R652T length=34
AGCAGTGGTATCAACGCAGAGTAAGCAGTGGTAT
+SRR057408.1 FW8Y5CK02R652T length=34
FIIHFF6666?=:88@@@BBD:::?@ABBAAA>8
@SRR057408.2 FW8Y5CK02TBMHV length=52... (1 Reply)
Hi,
I have two files. 1st file has 1 column (huge file containing ~19200000 lines) and 2nd file has 2 columns (small file containing ~6000 lines).
#################################
huge_file.txt
a
a
ab
b
##################################
small_file.txt
a 1.5
b 2.5
ab ... (4 Replies)
Hello everyone,
I have a little script below:
die "Usage infile outfile reGex" if @ARGV != 3;
($regex) = @ARGV;
open(F,$ARGV) or die "Can't open";
open(FOUT,"+>$ARGV") or die "Can't open";
while (<F>)
{
print FOUT if /$regex/.../$regex/;
}
No matter what I give $regex on the... (2 Replies)
Hello I am a new unix user, and I have a work related task to compare 2 files and print all of the lines in file 2 that contain a string from file 1 Note: the fields are in different columns in the files. I suspect the is a good use for awk? Thanks for your time & help
File 1
123 232 W343... (6 Replies)
Dear All,
a.txt
A 1 Z
A 1 ZZ
B 2 Y
B 2 AA
how can i use awk one line to achieve the result:
A Z|ZZ
B Y|AA
Thanks (5 Replies)
Discussion started by: jimmy_y
5 Replies
LEARN ABOUT DEBIAN
mcomix
MComix(1) General Commands Manual MComix(1)NAME
MComix - GTK Comic Book Viewer
SYNOPSIS
mcomix [OPTION...] [PATH...]
DESCRIPTION
MComix is an user-friendly, customizable image viewer. It is specifically designed to handle comic books, but also serves as a generic
viewer. It reads images in ZIP, RAR, 7Z, LHA or tar archives (also GZIP or BZIP2 compressed) as well as plain image files.
OPTIONS -h, --help
Display the help text and exit.
-s, --slideshow
Start the application in slideshow mode.
-l, --library
Show the library on startup.
-v, --version
Show the version number and exit.
Viewing modes
-f, --fullscreen
Start the application in fullscreen mode.
-m, --manga
Start the application in manga mode.
-d, --double-page
Start the application in double page mode.
Zoom modes
-b, --zoom-best
Start the application with zoom set to best fit mode.
-w, --zoom-width
Start the application with zoom set to fit width.
-h, --zoom-height
Start the application with zoom set to fit height.
The zoom modes are mutually exclusive, and if more than one is specified, the first will be used.
ARGUMENTS
PATH The path to one or more files or directories to be opened.
DEPENDENCIES
Required:
Python 2.5 or later (3.0 and later is not supported).
PyGTK 2.14 or later.
PIL (Python Imaging Library) 1.1.5 or later.
Distribute or Setuptools. Distribute supersedes Setuptools on most distributions.
Recommended:
unrar or rar to extract RAR archives.
p7zip to extract 7Z archives.
lha to extract LHA archives.
pysqlite (if not already built into Python).
BUGS
Please report any bugs to the MComix bug tracker at
http://sourceforge.net/projects/mcomix
CONTACT
The MComix home page is
http://mcomix.sourceforge.net
September 2011 MComix(1)