Sponsored Content
Full Discussion: Display the string issue
Top Forums Shell Programming and Scripting Display the string issue Post 302393592 by malcomex999 on Tuesday 9th of February 2010 07:16:27 AM
Old 02-09-2010
check this...
Code:
bdf | awk '/\/usr\/apps/{print $(NF-1)}'

what do you mean by space values?
can you show your desired output if this is not what you want?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

display went awkwards after issue kill pid

hi, i kill a process which is topas. then i do a fg of the process itself and got this Signal 15 received.finally, the display went as belows.... root@myhost:/]ksh: ^L^L^Lps: not found. root@myhost:/] PID TTY TIME CMD ... (4 Replies)
Discussion started by: yls177
4 Replies

2. UNIX for Dummies Questions & Answers

Display issue.

Hi All, I run this command ps -ef | grep daemon. This just returns half info on the page. Like. User 10888 1 0 23:04:58 ? 0:44 /opt/xxxxx/bin/perl /home/xxxxx/s After the "/s "at the end of the line it should continue. But it's not displayed. And can't even grep for the name... (1 Reply)
Discussion started by: preethgideon
1 Replies

3. Linux

Display issue

Hi, After installing red hat linux(ppc version) on power series server,running export DISPLAY=IP:0.0 and after that xclock command I am getting can't open display error Please suggest. (2 Replies)
Discussion started by: manoj.solaris
2 Replies

4. Programming

Display issue when we print in for loop

Hi All, I have connected to the board using telnet, when i tried to display huge record which has more then 1000, this telnet session where overlapping the printed data to the previous line. Can some one help me how to solve this? For example" in a for loop i am printing "1 Name1"... (3 Replies)
Discussion started by: mohi
3 Replies

5. AIX

New to Unix - display issue

new to the forums hope is this the right area to post this, I have 4 IBM servers (inherited) and all of them are connecting through a KVM. Probelm is all the servers are fuzzy on the monitor. I have tried switching multiple monitors and all get the same effect no matter if they are wide screen or... (4 Replies)
Discussion started by: Setnaro
4 Replies

6. UNIX for Advanced & Expert Users

Unix terminal display related issue

Want few input related to unix environment and terminal settings: 1. Am trying to find a way to keep the unix terminal display intact even after opening and closing a vi/less file. Currently if I open a vim file in the unix terminal and then close the file,it displays the contents of vim file on... (4 Replies)
Discussion started by: talktovkjain
4 Replies

7. Shell Programming and Scripting

Script with ^M causes display issue with cat or more

I have a script to do a couple simple but repetitive commands on files that are provided to us. One of the things is to get rid of the line feeds. This is the section that is causing problems, i even cut this section into its own file to make sure nothing else was affecting it. #!/usr/bin/bash... (4 Replies)
Discussion started by: oly_r
4 Replies

8. UNIX for Dummies Questions & Answers

Prompt path display issue

I use the following command to print the current directory above the command prompt set prompt="`exec pwd`\n$USER@`hostname -s` %B: % > " The output is something like this <current path> $USER@hostname > But when I try to CD to any other directory and press the return key, the... (6 Replies)
Discussion started by: aelhosiny
6 Replies

9. UNIX for Beginners Questions & Answers

Search a string and display its location on the entire string and make a text file

I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file. Please use CODE tags as... (7 Replies)
Discussion started by: ANKIT ROY
7 Replies

10. AIX

AIX Fonts and Display issue

Hello Everyone, have a question regarding fonts: #env root@oraapp:/>env _=/usr/bin/env LANG=ar_AA LOGIN=root SSH_TTY=/dev/pts/1 PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:/u ... (2 Replies)
Discussion started by: filosophizer
2 Replies
m2ps(1) 						      General Commands Manual							   m2ps(1)

NAME
m2ps - Converts text in Mule internal code to PostScript format SYNOPSIS
m2ps [options] <infile> outfile OPTIONS
Uses the specified file as a header for PostScript output. The default header file is /usr/i18n/mule/lib/mule/$VERSION/etc/m2ps.ps. Spec- ifies the resolution of the output device. The default value is 300. Specifies FontScale in points. The default value is 10. Specifies LinePitch in points. The default value is 14. Specifies the number of lines on a page. The default value is 56. Specifies TopMargin in points. The default value is 800. Specifies LeftMargin in points. The default value is 30. Indicates that your PostScript printer has limited memory. Indicates that your PostScript printer has a large memory. This is the default. Indicates A4 paper size. This is the default. Indicates US-LETTER paper size. Shows the version number of m2ps software. Uses the specified font server. Refer to the xfs(1X) referent page for information about font servers. Uses the specified path to find the bdf.tbl file that maps leading codes to their asso- ciated fonts. The default path is /usr/i18n/mule/lib/mule/$VERSION/etc/bdf.tbl. OPERANDS
Specifies the file containing text in mule *internal* code. Specifies the file containing the output PostScript program. DESCRIPTION
The m2ps command converts text encoded in Mule internal code (called *internal*) to a PostScript file that can be printed. To handle text not coded in *internal* code, you first have to convert the code to *internal*. You can use the coco command to perform this code conver- sion. Alternatively, you can run the any2ps program to do both jobs (convert the code to *internal* and also generate the PostScript file). Compaq's implementation of the m2ps command is derived from software supplied by the Free Software Foundation. However, the original code, written by Ken'ichi Handa of the Electrotechnical Laboratory in Japan, uses BDF files that are available for public domain fonts. BDF files are not available for fonts supplied with the Tru64 UNIX product. Therefore, the Compaq implementation of m2ps uses the X font server, along with a table (bdf.tbl), to obtain printing information. Each line of the bdf.tbl file maps a leading code value to a font name. A line contains 2 columns, separated by a colon (:), for the lead- ing code value and font name, respectively. You can modify the file if you want m2ps to use different fonts for one or more of the leading codes. FILES
PostScript header file Sample PostScript file created by m2ps. The original file is in mule's documentation directory. Table that maps leading codes to font names. SEE ALSO
Commands: any2ps(1), coco(1), mule(1), xfs(1X) m2ps(1)
All times are GMT -4. The time now is 09:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy