9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I've worked how to add page numbers based on regex. It's using the footer text.
How do we get the total amount added so we have page number with the total number of pages?
Desired output: Page No:1 of 5
Thanks in advance. (15 Replies)
Discussion started by: tugar
15 Replies
2. Web Development
Made some changes to the forum, so when a page is not found and generates a 404 error, the site redirects to "Today's Posts" page and added a "Not Found" message:
<?php
header('HTTP/1.0 404 Not Found', true, 404);
header("Location: https://www.unix.com/search.php?do=getdaily&redirect=404");... (0 Replies)
Discussion started by: Neo
0 Replies
3. Shell Programming and Scripting
Hi,
If there is an expert that can help:
I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C.
I want to add page numbers before each page break as in : Page XXXX
Regards antman (9 Replies)
Discussion started by: antman
9 Replies
4. Shell Programming and Scripting
Hi
I have a pdf file that is being generated using the rwrun command in the shell script.
I then have the lp command in the shell script to print the same pdf file.
Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies
5. Web Development
Hi
Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally.
Any ideas?
Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies
6. UNIX for Dummies Questions & Answers
Good afternoon,
I wonder how i could use unix commands to ease the reading of long command result output ?
like the "php -i" or any other command that returns a long answer.
I could not find the right terms to Google it or search the forum. Therefore I bother you with this question.
... (3 Replies)
Discussion started by: Mat_k
3 Replies
7. Shell Programming and Scripting
Hi All,
I am facing some strange problem. can anyone help to resolve this.
When i open any programs, scripts or any files in VI editor, only first 8 lines are displaying in the bottom of the screen. If i press control + f to go to next page, again second 8 lines are displaying.
I have to... (3 Replies)
Discussion started by: senthil_is
3 Replies
8. Solaris
Hi,
Currently I'm experience very high page ins on my system running on solaris 10.
From vmstat, the page ins figure is very high, further drill down shows the page ins are from file system and occassional spike in executable page ins.
Details as follow:
oracle@perch:/files>> vmstat 5... (9 Replies)
Discussion started by: srage
9 Replies
9. Shell Programming and Scripting
hi all
i have file_1 which contains 66 pages and i want to print only page 1 to 3
i try to write like this
lp -d name_of_printer file_1 -P 1-7
this command does not work
any ideas ? (4 Replies)
Discussion started by: naamas03
4 Replies
HEXEDITOR(1) General Commands Manual HEXEDITOR(1)
NAME
hexeditor - Full screen curses Hex editor
SYNOPSIS
hexeditor [ -8abdfgqrv ] [ filename ]
DESCRIPTION
Hexeditor is an editor to edit binary (or any) files or disks. The Display consists of the current offset from 0 (the first byte), the
next sixteen bytes (aligned by bytes or 32-bit words), and its ASCII or EBCDIC text representation.
OPTIONS
-h, --help
Display help
-8, --highbit
Display 8-bit text
-a, --alltext
Display all text regardless that you know better
-b, --buffer
Buffer the entire file into memory. Faster, and enables insert and delete.
-d, --disk
File editing is a disk. OpenBSD and Linux only.
-f, --force
Force editing of a disk. Need this option to enable writing to disks.
-q, --quiet
Quiet Mode; Turn off all beeping.
-r, --readonly
Do not allow modifying the file
-v, --version
Display version number
Commands and keys
^A Insert byte
Insert Insert byte
^D Delete byte
Delete Delete byte
^E viEw as text dump
^F Page down
^V Page down
Page Down
Page down
^B Page Up
^Y Page Up
Alt-V Page Up
Page Up
Page Up
Tab Switch from hex to text representation
^I Switch from hex to text representation
^T goTo offset
^G Get help
^L Redraw screen
^C Quit without saving
^O Save
^X Save and Quit
^W Search (text/hex)
^N find Next
^U Undo
^R ASCII <=> EBCDIC
^P Switch Spacings
^+ Binary Calculator
Author
Adam Rogoyski <apoc@laker.net>
See Also
od (1)
BUGS
Editing disks is only supported in Linux and OpenBSD.
Please email Adam Rogoyski <apoc@laker.net> with any bugs you might find. This man page is intentionally brief. Please Read the included
documentation in Texinfo format for additional information
HEXEDITOR(1)