Im having a bit of difficulty with this one and I suspect its because of the character I want to match against maybe causing me a problem, but i wanted to remove everything up to (but not including) the first instance of '{' in a string
so for example the string that I want to manupulate is ...
I have few files in unix which are in dos format. While I am copying these files, ^M, ^@, etc characters are being generated.
I tried dos2unix command in Linux and it doesn't work.
I tried sed to remove these characters but they won't go.
I came to about this 'tr' command and tried to use it... (16 Replies)
Hi,
I have a very huge file and it contains some unprintable characters like ^H and ^D.
If I try to remove using cat test1.ser| tr -d '\136 110'>newfile1 it is only removing ^and all spaces in the file.
How can I remove these characters (^D ^H) and keep my spaces as it is?
Thanks &... (1 Reply)
Hi all,
Any help on how to do the following? :eek:
I have an infile as follows:
_thisishowyouwritehelloworld
_thisisalsohowyouwritehelloworld2
I want to delete the characters from "_" to "how" and be left with:
youwritehelloworld
youwritehelloworld2
I am able to do delete from a... (2 Replies)
hi
I have a perl script conv.pl. when i execute this file and direct i to log file I see lots of ^M characters in the log file. There is no ^M in conv.pl file. Log file is generated only after conv.pl is executed.
Please help as how to get rid of these.
This conv.pl is going to get schduled... (0 Replies)
hi
I have a perl script conv.pl. when i execute this file and direct i to log file I see lots of ^M characters in the log file. There is no ^M in conv.pl file. Log file is generated only after conv.pl is executed.
Please help as how to get rid of these.
This conv.pl is going to get schduled... (5 Replies)
Dear Friends,
I want to remove text between two patters.
Problem is, it has random special characters like \ / | * ` ~ ! $ etc.
These random special characters has no fixed length. But these special characters are appearing between a fixed pattern
e.g.
DM&^%#|#!\/?CT
Expected output... (14 Replies)
Hi,
in a file, i have records as below:
123|62|absnb|267629
123|267|28728|uiuip
123|567|26761|2676
i want to remove the non printable characters after the end of each record.
I guess there are certain charcters but not visible.
i don't know what character that is exactly.
I used... (2 Replies)
I have been given a shell script that I need to amend. To do the following
extract the filename from the flag file by removing the .flag extension.
# Local variables
# Find if the flag files exists
MASK=coda_mil2*.flag
# Are there any files?
bookmark="40"
fileFound=0
ls -1... (3 Replies)
Hi guys,
So I am using an awk command to return a specific column in a file.
I also need to remove some extra characters.
What I have is ::
(http-/0.0.0.0:8091-9)|23:00:41
And what I want is :
http-/0.0.0.0:8091-9
I tried using the td command but it is only removing the ( ,... (5 Replies)
Discussion started by: Junaid Subhani
5 Replies
LEARN ABOUT XFREE86
showfont
SHOWFONT(1) General Commands Manual SHOWFONT(1)NAME
showfont - font dumper for X font server
SYNOPSIS
showfont [ -options ... ] -fn pattern
DESCRIPTION
Showfont displays data about a font that matches the given pattern. The information shown includes font information, font properties,
character metrics, and character bitmaps.
The wildcard character "*" can be used to match any sequence of characters (including none) in the font name, and "?" can be used to match
any single character. The "*" and "?" characters must be quoted to prevent them from being expanded by the shell. If no pattern is given,
"*" is assumed.
OPTIONS -server host:port
The X font server to contact.
-fn name
The font to display.
-lsb The bit order of the font should be requested as LSBFirst (least significant bit first).
-msb The bit order of the font should be requested as MSBFirst (most significant bit first).
-LSB The byte order of the font should be requested as LSBFirst (least significant byte first).
-MSB The byte order of the font should be requested as MSBFirst (most significant byte first).
-ext[ents_only]
Only the character extents should be displayed, but not the bitmaps.
-start char
The start of the range of the characters to display (char is a number).
-end char
The end of the range of the characters to display (char is a number).
-unit n The scanline unit of the font (8, 16, 32, or 64).
-pad n The scanpad unit of the font (8, 16, 32, or 64).
-b[itmap_pad] n
The bitmap padding unit of the font (0, 1, or 2, where 0 is ImageRectMin, 1 is ImageRectMaxWidth and 2 is ImageRectMax).
-noprops
Do not show the font properties.
SEE ALSO xfs(1), fslsfonts(1), xlsfonts(1)ENVIRONMENT
FONTSERVER
the default X font server to contact.
COPYRIGHT
Copyright 1991, Network Computing Devices, Inc.
See X(1) for a full statement of rights and permissions.
AUTHOR
Dave Lemke, Network Computing Devices, Inc.
XFree86 Version 4.7.0 SHOWFONT(1)