Hi,
I have a sql file and i need to extract the table names used in the sql file using a unix script. If i can extract the lines between the keywords 'FROM' and 'WHERE' in the file, my job is done. can somebody tell me how to do this using a shell script. If u can just let me know, how to... (2 Replies)
Hi all,
I'm very very new to UNIX and AWK world.Please help me in finding a solution for my problem.
I'm having a file like this
-----------------------------------------------------------------
~Version Information
VERS. 2.0: CWLS log ASCII Standard -VERSION 2.0
WRAP. ... (4 Replies)
Well thanks a lot but I have another Problem
I try to solve.
I habe one simple Textfile
with entries like this, for example:
file1
file2
file3
file4
...
file200
And I want to add Strings at the beginning on the line.
Like this
word1 file1
word1 file2
...
I hope you can help me (3 Replies)
I need some help with adding lines to file and substitute a pattern.
Ok I have a file:
#cat names.txt
name: John Doe
stationed: 1
name: Michael Sweets
stationed: 41
.
.
.
And would like to change it to:
name: John Doe
employed
permanently
stationed: 1-office (7 Replies)
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)
The question is not as simple as the title... I have a file, it looks like this
<string name="string1">RZ-LED</string>
<string name="string2">2.0</string>
<string name="string2">Version 2.0</string>
<string name="string3">BP</string>
I would like to check for duplicate entries of... (11 Replies)
Dear All,
I have a file which contains a column with age, which is represented in two following patterns
1. "007/A" or ''007/a" or ''7 /a" ..... In this case A or a means year and I would like to extract only the numeric values eg 7 in the above case if this pattern exits in a line of file.... (5 Replies)
test.txt:
appleboy
orangeletter
sweetdeal
catracer
conducivelot
I want to only grep out lines that contain "appleboy" AND "sweetdeal". however, the closest thing to this that i can think of is this:
cat test.txt | egrep "appleboy|sweetdeal"
problem is this only searches for all... (9 Replies)
Hello All,
this is my first post so I don't know if I am doing this right.
I would like to append entries from a series of strings (contained in a text file) consecutively at the end of specifically labeled lines in another file.
As an example:
- the file that contains the values to be... (3 Replies)
I have a bunch of file numbers in the file 'test':
I'm trying the above command to change all the instances of "H" to "Na+" in the file testsds.pdb at the line numbers indicated in the file 'test'. I've tried the following and various similar alternatives but nothing is working:
cat test |... (3 Replies)
Discussion started by: crunchgargoyle
3 Replies
LEARN ABOUT MOJAVE
mime.convs
mime.convs(5) Apple Inc. mime.convs(5)NAME
mime.convs - mime type conversion file for cups
DESCRIPTION
The mime.convs file defines the filters that are available for converting files from one format to another. The standard filters support
text, PDF, PostScript, and many types of image files.
Additional filters are specified in files with the extension .convs in the CUPS configuration directory.
Each line in the mime.convs file is a comment, blank, or filter line. Comment lines start with the # character. Filter lines specify the
source and destination MIME types along with a relative cost associated with the filter and the filter to run:
source/type destination/type cost filter
The source/type field specifies the source MIME media type that is consumed by the filter.
The destination/type field specifies the destination MIME media type that is produced by the filter.
The cost field specifies the relative cost for running the filter. A value of 100 means that the filter uses a large amount of resources
while a value of 0 means that the filter uses very few resources.
The filter field specifies the filter program filename. Filenames are relative to the CUPS filter directory.
FILES
/etc/cups - Typical CUPS configuration directory.
/usr/lib/cups/filter - Typical CUPS filter directory.
/usr/libexec/cups/filter - CUPS filter directory on macOS.
EXAMPLES
Define a filter that converts PostScript documents to CUPS Raster format:
application/vnd.cups-postscript application/vnd.cups-raster 50 pstoraster
SEE ALSO cups-files.conf(5), cupsd.conf(5), cupsd(8), cupsfilter(8), mime.types(5), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
26 August 2015 CUPS mime.convs(5)