Sponsored Content
Full Discussion: Form Feed...
Top Forums UNIX for Dummies Questions & Answers Form Feed... Post 42584 by Ygor on Friday 31st of October 2003 05:02:18 AM
Old 10-31-2003
If the form-feed is within the first 10 lines, try....
Code:
sed '1,10s/^L//' file1 > file2

....where ^L is Ctrl-V Ctrl-L

OR

To remove only the first line-feed in the file, try....
Code:
awk '/\014/&&f<1{sub("\014","");f=1};1' file1 > file2


Last edited by Ygor; 10-31-2003 at 06:17 AM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Changing Unix form to Microsoft Word form to be able to email it to someone.

Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused: (8 Replies)
Discussion started by: Cheraunm
8 Replies

2. UNIX for Dummies Questions & Answers

Disable form feed on a serial printer connected to Sco OpenServer

I connected a serial printer to my scoOpenServer which works great. I was able to disable the banner in the interface of the printer. However i am unable to find the command in the interface to disable the formfeed . Below is a copy of the interface file. Please can anyone instruct me on how to... (0 Replies)
Discussion started by: scoman2
0 Replies

3. UNIX for Dummies Questions & Answers

Page feed in Troff

Hi, does anyone knows how to give the page feed command to Printer in troff. Actually I want to implement the functionality where I'll print say 10 pages and I want user to stop printer at 5th page to do manual feed by user .... (2 Replies)
Discussion started by: dpmore
2 Replies

4. Shell Programming and Scripting

replace last form feed with line feed

Hi I have a file with lots of line feeds and form feeds (page break). Need to replace last occurrence of form feed (created by - echo "\f" ) in the file with line feed. Please advise how can i achieve this. TIA Prvn (5 Replies)
Discussion started by: prvnrk
5 Replies

5. AIX

Printer delay before final form feed

Hi, I am new to printing with Unix (AIX on HP). I am printing from a COBOL program. On our test system the page prints and does a Form Feed to the next page. This is good. When I release the program to our customer it prints the page but waits 5 or more seconds before doing a page... (11 Replies)
Discussion started by: habler
11 Replies

6. Shell Programming and Scripting

Transpose Data form Different form

HI Guys, I have data in File A.txt RL03 RL03_A_1 RL03_B_1 RL03_C_1 RL03 -119.8 -119.5 -119.5 RL07 RL07_A_1 RL07_B_1 RL07_C_1 RL07 -119.3 -119.5 -119.5 RL15 RL15_A_1 RL15_C_1 RL15 -120.5 -119.4 RL16... (2 Replies)
Discussion started by: asavaliya
2 Replies

7. Shell Programming and Scripting

Remove x lines form top and y lines form bottom using AWK?

How to remove x lines form top and y lines form bottom. This works, but like awk only cat file | head -n-y | awk 'NR>(x-1)' so remove last 3 lines and 5 firstcat file | head -n-3 | awk 'NR>4' (5 Replies)
Discussion started by: Jotne
5 Replies

8. Shell Programming and Scripting

Insert FF (feed form) in text file so that when printing the printer print on a new page accordingly

Hello. First happy new year to everybody. I have a script that generate a text file ( /tmp/part_list.txt for example ). This file can be edited using a kde graphical text editor like kate or kwrite The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
SURF(1) 						      General Commands Manual							   SURF(1)

NAME
surf - simple webkit-based browser SYNOPSIS
surf [-e xid] [-i] [-p] [-s] [-v] [-x] URI DESCRIPTION
surf is a simple Web browser based on WebKit/GTK+. It is able to display websites and follow links. It supports the XEmbed protocol which makes it possible to embed it in another application. Furthermore, one can point surf to another URI by setting its XProperties. OPTIONS
-e xid Reparents to window specified by xid. -i Disable Images -p Disable Plugins -s Disable Javascript -v Prints version information to standard output, then exits. -x Prints xid to standard output. This can be used to script the browser by using xprop(1). USAGE
Escape Stops loading current page or stops download. Ctrl-h Walks back the history. Ctrl-l Walks forward the history. Ctrl-k Scrolls page upwards. Ctrl-j Scrolls page downwards. Ctrl-Shift-k Zooms page in. Ctrl-Shift-j Zooms page out Ctrl-Shift-i Resets Zoom Ctrl-/ Opens the search-bar. Ctrl-n Go to next search result. Ctrl-Shift-n Go to previous search result. Ctrl-g Opens the URL-bar. Ctrl-p Loads URI from primary selection. Ctrl-Shift-p Calls Printpage Dialog. Ctrl-r Reloads the website. Ctrl-Shift-r Reloads the website without using cache. Ctrl-y Copies current URI to primary selection. Ctrl-o show the sourcecode of the current page. SEE ALSO
dmenu(1) xprop(1) BUGS
Please report them! surf-0.4.1 SURF(1)
All times are GMT -4. The time now is 05:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy