Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mc(1) [plan9 man page]

MC(1)							      General Commands Manual							     MC(1)

NAME
mc - multicolumn print SYNOPSIS
mc [ - ] [ -N ] [ file ... ] DESCRIPTION
Mc splits the input into as many columns as will fit in N print positions. If run in an 81/2(1) window, the default N is the number of blanks that will fit across the window; otherwise the default N is 80. Under option - each input line ending in a colon is printed sepa- rately. SOURCE
/sys/src/cmd/mc.c SEE ALSO
81/2(1), pr(1), lc in ls(1) MC(1)

Check Out this Related Man Page

LEX(1)							      General Commands Manual							    LEX(1)

NAME
lex - generator of lexical analysis programs SYNOPSIS
lex [ -tvn ] [ file ... ] DESCRIPTION
Lex generates programs to be used in simple lexical analysis of text. The input files (standard input default) contain regular expressions to be searched for and actions written in C to be executed when expressions are found. A C source program, lex.yy.c is generated. This program, when run, copies unrecognized portions of the input to the output, and executes the associated C action for each regular expression that is recognized. The options have the following meanings. -t Place the result on the standard output instead of in file lex.yy.c. -v Print a one-line summary of statistics of the generated analyzer. -n Opposite of -v; -n is default. EXAMPLES
This program converts upper case to lower, removes blanks at the end of lines, and replaces multiple blanks by single blanks. %% [A-Z] putchar(yytext[0]+'a'-'A'); [ ]+$ [ ]+ putchar(' '); FILES
lex.yy.c output /sys/lib/lex/ncform template SEE ALSO
yacc(1), sed(1) M. E. Lesk and E. Schmidt, `LEX--Lexical Analyzer Generator', Unix Research System Programmer's Manual, Tenth Edition, Volume 2. SOURCE
/sys/src/cmd/lex BUGS
Cannot handle UTF. The asteroid to kill this dinosaur is still in orbit. LEX(1)
Man Page

12 More Discussions You Might Find Interesting

1. Solaris

Non-gui equivalent to SMC Management Console?

Forgive my naievety, but is there a non-Gui version of the administration tool, SMC? I need to run this on a remote Putty login and it is just plain UNIX. When I invoke SMC, I get java.lang.ClassLoader errors, a bunch of jibberish and a root prompt. I have searched Google, seems as if it... (14 Replies)
Discussion started by: jeffpas
14 Replies

2. Solaris

Config reader module in Sun MC Agent not work in E2900

Hi men, Have you ever meet this error ? I install full Sun MC 4.0 packages (+ Add ons) exception of Sun Midrange Platform Administration because i don't know how to configure it Then all other servers are ok, only E2900 servers have Config reader module error: Data Acquisition error I... (12 Replies)
Discussion started by: tien86
12 Replies

3. Solaris

How to start tomcat with 2 jdk?

Current platform: Sun OS 5.9 Solaris isainfo -v 64-bit sparcv9 applications 32-bit sparc applications Problem: Fail to start tomcat server ps -ef | grep tomcat nothing displays... Steps: Installed jakarta-tomcat-5.0.30 Installed jdk 1.6 and set path in profile... (11 Replies)
Discussion started by: sbox
11 Replies

4. Shell Programming and Scripting

Color Underline and Bold letter in shell script

Hi All, This is my first port..... I am using AIX 5L, installed 10g database. On daily basis we takes rman backup. This backup status info strored in a log file. I write a script to know the status of back means I will fire this script and this script will send a mail to me. #!/bin/bash... (16 Replies)
Discussion started by: mcagaurav
16 Replies

5. Shell Programming and Scripting

Is this the "right" way to make an alarmclock?

I'm pretty unsophisticated in my scripting. I never followed a method to learn, I just use google when I want to figure out how to use a command or preform a certain function (and most of the results are from here or the ABSG). Anyway, there are a lot of gaps in my knowledge. So, I wanted... (13 Replies)
Discussion started by: ninjaaron
13 Replies

6. Programming

memcpy error

I am getting segmentation fault in memcpy.I have given sufficient memory but i dont know why it is occurring char *finalptr = ( char *)malloc(1048576* sizeof(char)); finaloffset=0;have=685516; memcpy(&(finalptr)+finaloffset,out,have); finaloffset=685516;have=359910;... (23 Replies)
Discussion started by: rajsekhar28
23 Replies

7. HP-UX

How to open 6000 port for XDMCP?

Hi, While login to Xmanager its showing " XDMCP connection failed. Try again? " the error attached . (15 Replies)
Discussion started by: purushottamaher
15 Replies

8. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies

9. AIX

Power8 S812L:HMC issue and ...

Hi, I just bought POWER 8 ESERVER S812L from Ebay. There is no AIX on it. I am trying to install RedHat on this box But it does not recognize the hard drive and Ethernet card. I am very newbie with IBM ... please help or hints me please ... 1. can't access to HMC ports, thought it's... (21 Replies)
Discussion started by: lilyn
21 Replies

10. AIX

AIX help -reconnect EMC lun

we have an old AIX system with important data on an EMC LUN. the AIX server crashed and we had to rebuild it with the old AIX os 5.8. how do we reconnect the EMC LUN without losing the data? (15 Replies)
Discussion started by: jhudson12
15 Replies

11. AIX

[Opinion] A Public Answer To Rob McNelly

Why Do We Need Root on the HMC? In this article in IBMSystems Magazine Rob McNelly asked the question Why Don't We Have Root on the HMC? and he goes on to justify why we indeed shouldn't have root - kinda. I think his arguments are not as valid as he perhaps thinks they are and what's more... (11 Replies)
Discussion started by: bakunin
11 Replies

12. Ubuntu

Check for download before running command

This works so I do not have to manually hit my sleep button. Is there a way to make it not run if a download is occuring? (Using my browser) #!/bin/bash # # Suspend computer if no mouse/keyboard activity for 10 minutes # # The time is in milliseconds !! 3000 = 3 seconds # 1 minute = 1000... (15 Replies)
Discussion started by: drew77
15 Replies