Hello,
Whenever I transfer files between machines, I find a garbage character (^M) being appended to the end of every line of the file.
Can you suggest a script wherein I can eliminate the garbage character.
I tried sed 's/^M//g' < filename > filename1
...but it doesn't work. Also, this... (4 Replies)
Hi,
I'd like to ask for some help with the following:
I've cut a couple of columns of file1 to create file2 with the following code:
cur -f 1,3,8 file1 > file2
Then I need to transfer file 2 from UNIX to Windows and use it further.
Unfortunatelly, for some reason the line is displayed... (4 Replies)
Dear Members,
I have a file which is a single line file. It has "\" character and i need to replace this character with a new line character.
How can we do this?
I tried with sed but it did not work.
sed 's//"\n"/g' t1 > t2Thanks
Sandeep (3 Replies)
hi
I have a list of words in a text file. these words are appended by "." at their end. They look something like this.
word1.
word2.
word3.
word4.
word5.
I need to remove the last character "." from all the words. The output must look something like this.
word1
word2
word3... (7 Replies)
Hi Experts,
I have data coming in 4 columns and there are new line characters \n in between the data. I need to remove the new line characters in the middle of the row and keep the \n character at the end of the line.
File is comma (,) seperated.
Eg:
ID,Client ,SNo,Rank
37,Airtel \n... (8 Replies)
How can i remove the first and last character of strings like below:
"^^^613*"
"admt130"
"^^^613*"
"123456"
"adg8484"
"DQitYV09dh1C"
Means i wanna remove the quotes("").
Please help (17 Replies)
Greetings,
We have a requirement where we need to loop in a fixed width file in linux and remove a character based on a position for every record. It would highly appreciate if someone can help to automate this.
Appreciate your time and help!
Regards (3 Replies)
Hi All,
Am new to both Unix & this Forum - Need some help on a script that I am trying to write:
In a Directory i have few text files which might or might not contain some text that I am trying to find.
Once that text is found in any of the files, it needs to be removed from the file
... (6 Replies)
I have a file which comes every day and the file data look's as below.
Vi abc.txt
a|b|c|d\n
a|g|h|j\n
Some times we receive the file with only a new line character in the file like
vi abc.txt
\n (8 Replies)
Discussion started by: rak Kundra
8 Replies
LEARN ABOUT DEBIAN
t1dotlessj
T1DOTLESSJ(1) General Commands Manual T1DOTLESSJ(1)NAME
t1dotlessj - create a dotless-j PostScript Type 1 font
SYNOPSIS
t1dotlessj [OPTIONS...] font [outputfile]
DESCRIPTION
T1dotlessj creates a PostScript Type 1 font whose only character is a dotless 'j' matching the input font's design. It works simply by
removing the dot from the input font's 'j'. The output font has three characters: '.notdef', 'space', and 'uni0237', where 'uni0237' is
the dotless 'j'. The command fails if the input font already has a dotless 'j' character, or if there seems to be no dot to remove.
T1dotlessj writes the created PFA or PFB font to the standard output (but see the --output option); if no input file is supplied, it reads
a PFA or PFB font from the standard input.
OPTIONS --output=file, -o file
Send output to file instead of standard output.
--pfb, -b
Output a PFB font. This is the default.
--pfa, -a
Output a PFA font.
--name=name, -n name
Set the output font's PostScript name to name. The default is InputFontNameLCDFJ.
-q, --quiet
Do not generate any error messages.
-h, --help
Print usage information and exit.
-v, --version
Print the version number and some short non-warranty information and exit.
RETURN VALUES
T1dotlessj exits with one of the following values:
0 A dotless-j font was successfully generated.
1 The font already contained a dotless-j character.
2 The font's "j" character had no dot to remove.
3 The font had no "j" character.
>3 An error occurred.
SEE ALSO
Adobe Type 1 Font Format
AUTHOR
Eddie Kohler (ekohler@gmail.com)
Version 2.92 LCDF Typetools T1DOTLESSJ(1)