Sponsored Content
Full Discussion: Printing out desired content
Top Forums Shell Programming and Scripting Printing out desired content Post 302347668 by HardyV2 on Wednesday 26th of August 2009 08:08:24 AM
Old 08-26-2009
Quote:
What's wrong with an ordinary grep on 'notes'?

Code:

grep 'notes' file
Well I am practicing regular expressions. So I wanted to try this out^^ But it just doesn't work how I planned...
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

2. Shell Programming and Scripting

Help me in getting the desired output

I wanted to put "|" this sign at starting and at end of every field but its not working with first field like Currently the out put is : abc | abc | abc | xyz | xyz | xyz | But I want the out put in this form: | abc | abc | abc | | xyz | xyz | xyz | plz help me. (2 Replies)
Discussion started by: akash
2 Replies

3. HP-UX

Desired Format !

Hi everybody, I just need desired ouput from text file which should have folowing format; "2007-06-25 00:03:32.926+05:30",12354369,"Load","Completed","Rs.-5,556.00",9452217714 "2007-06-25 00:06:57.357+05:30",12354371,"Load","Completed","Rs.-56.00",9415766266 "2007-06-25... (1 Reply)
Discussion started by: prasanth_babu
1 Replies

4. Shell Programming and Scripting

printing the content from a file

hi , i m new to unix and i don no how to print this format i have output file like THE DOMAIN NAME VPORCL01 FOR THE HOSTNAME Ram-pc Port=1533 Port=9000 Listener Port=9100 THE DOMAIN NAME VPORCL02 FOR THE HOSTNAME Ram-pc Port=7000 Port=9000 Listener Port=9100 but i sholud print... (7 Replies)
Discussion started by: becksram123
7 Replies

5. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

6. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

7. Shell Programming and Scripting

need to get the desired output

Below is the my cide which is working fine but I am not getting the output indesired format.there is some problem in alignment.Can someone help me to correct this? if ]; then summary=$( echo -e "Please review the log file of auto coloclean utility.\n"; echo -e... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies

8. UNIX for Dummies Questions & Answers

Help me in getting the desired result

Hi All, I have input file which is pipe delimited A | 1 B | 2 c | 3I need output of displaying total number of lines in a file as last column. A | 1 | 3-----total number of linesin file. B | 2 | 3 c | 3 | 3 (9 Replies)
Discussion started by: pravinashwin
9 Replies

9. Shell Programming and Scripting

Facing issues with Content-Type:application/x-download Content-Disposition:attachment

I am in the process of developing a perl cgi page. I had succeeded in developing the page but there are few errors/issues with the page. description about cgi page: My CGI page retrieves all the file names from an directory and displays the files in drop down menu for downloading the... (5 Replies)
Discussion started by: scriptscript
5 Replies

10. Shell Programming and Scripting

awk pattern match not printing desired columns

Hi all, I'm trying to match the following two files with the code below: awk -F, 'NR==FNR {a=$0; next} ($12,$4) in a {print $12,$1,a}' OFS="," file4.csv file3.csv but the code does not print the entire row from file4 in addition to column 12 and 1 of file3. file4: o,c,q,co,ov,b... (1 Reply)
Discussion started by: bkane3
1 Replies
NFPRINT(1)						      General Commands Manual							NFPRINT(1)

NAME
nfprint - Print the contents of a notesfile SYNOPSIS
nfprint [ -p ] [ -l# ] [ -d or -nd ] [ -c ] [ -t ] topic [ note-list ] DESCRIPTION
Nfprint gives the user the ability to print the contents of notesfiles. Nfprint writes to standard output. The text is formatted with pr(1). When the -c option is used, the output is filtered through cat(1) instead. The -l# parameter specifies the page length to use (66 lines/page is the default). By specifying -p, the printout is arranged so each base note starts on a new page. The -d and -nd options specify only notes with the director flag on or off respectively are to be printed. Use -t to generate a list of titles only; the text of notes and responses is suppressed. The note list is the set of notes which are to be printed. An example note list is: 1,30-36,13,10,42-50. FILES
/bin/pr Output filter /etc/passwd for the users name /etc/group for the users group(s) /usr/spool/notes the default notesfile data base SEE ALSO
notes(1), pr(1), The Notesfile Reference Manual AUTHORS
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa) Department of Computer Science University of Illinois at Urbana-Champaign Urbana, IL Rob Kolstad (kolstad@convex.UUCP) CONVEX Computer Corporation Richardson, TX University of Illinois NFPRINT(1)
All times are GMT -4. The time now is 05:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy