05-15-2018
This User Gave Thanks to rdrtx1 For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
Can any suggest me some utility to convert xhtml file to postscript file format?
Also tell me from where to down load such utility..
With Regards,
Dattatray (0 Replies)
Discussion started by: dattatray.b
0 Replies
2. Linux
Hi,
I'm using the following command to find the multiple requierd file types and its working fine
find . -name "*.pl" -o -name "*.pm" -o -name "*.sql" -o -name "*.so" -o -name "*.sh" -o -name "*.java" -o -name "*.class" -o -name "*.jar" -o -name "*.gz" -o -name "*.Z" -type f
Though... (2 Replies)
Discussion started by: vickramshetty
2 Replies
3. Shell Programming and Scripting
This is the ldf file
dn: sdcsmsisdn=1000000049,sdcsDatabase=subscriberCache,dc=example,dc=com
objectClass: sdcsSubscriber
objectClass: top
postalCode: 29600
sdcsServiceLevel: 10
sdcsCustomerType: 14
givenName: Adelia
sdcsBlackListAll: FALSE
sdcsOwnerType: T-Mobile
sn: Actionteam... (1 Reply)
Discussion started by: LinuxFriend
1 Replies
4. Shell Programming and Scripting
Request if some one could provide me shell script that converts the below "input file" to "CSV format file" given
Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------ ------- ----- ---------------------------------... (7 Replies)
Discussion started by: sreenath1037
7 Replies
5. Shell Programming and Scripting
Input file (each line is separaed by spaces )given below:
Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------ ------- -----... (18 Replies)
Discussion started by: sreenath1037
18 Replies
6. Linux
I have a .CSV file when I check for the special characters in the file using the command cat -vet filename.csv, i get very lengthy lines with "^@", "^I^@" and "^@^M" characters in between each alphabet in all of the records. Using the code below file filename.csv I get the output as
I have a... (2 Replies)
Discussion started by: dhruuv369
2 Replies
7. Shell Programming and Scripting
Hi,
The below awk script that i did is working fine. It gives me the results that i want. But, the script is not smart and very long as i have 8 conditions to meet. The sample script below only show 2 conditions.
awk 'BEGIN{FS=OFS=" ~ |\t"}
{if (($7>$9) && ($6>$8)){
Ql= $7-$6;
Sl=... (6 Replies)
Discussion started by: redse171
6 Replies
8. What is on Your Mind?
Hi,
I changed the logout code to just simply log out and go back to the page you were viewing:
Was (ending code):
eval(standard_error(fetch_error('cookieclear', create_full_url($vbulletin->url), $vbulletin->options, $vbulletin->session->vars), '', false));
Now:
$goto = "Location:... (0 Replies)
Discussion started by: Neo
0 Replies
9. What is on Your Mind?
At Ravinder's request, I have simplified the new member registration page on both mobile and desktop:
Mobile:
https://www.unix.com/members/1-albums214-picture909.jpeg
Desktop (big image):
https://www.unix.com/members/1-albums215-picture907.png (2 Replies)
Discussion started by: Neo
2 Replies
10. UNIX for Beginners Questions & Answers
Hi Folks -
I have the following peice of code that I believe is uncecesarily long and I modified it to shorten it up. I was hoping one could comment and confirm my approach was acceptable?
Original:
if
then
pushd "${_INTRAPATH}"
#Search for lines in... (1 Reply)
Discussion started by: SIMMS7400
1 Replies
PAC(8) BSD System Manager's Manual PAC(8)
NAME
pac -- printer/plotter accounting information
SYNOPSIS
pac [-cmrs] [-P printer] [-p price] [name ...]
DESCRIPTION
pac reads the printer/plotter accounting files, accumulating the number of pages (the usual case) or feet (for raster devices) of paper con-
sumed by each user, and printing out how much each user consumed in pages or feet and dollars.
Options and operands available:
-Pprinter Accounting is done for the named printer. Normally, accounting is done for the default printer (site dependent) or the value of
the environment variable PRINTER is used.
-c flag causes the output to be sorted by cost; usually the output is sorted alphabetically by name.
-m flag causes the host name to be ignored in the accounting file. This allows for a user on multiple machines to have all of his
printing charges grouped together.
-pprice The value price is used for the cost in dollars instead of the default value of 0.02 or the price specified in /etc/printcap.
-r Reverse the sorting order.
-s Accounting information is summarized on the summary accounting file; this summarization is necessary since on a busy system, the
accounting file can grow by several lines per day.
names Statistics are only printed for user(s) name; usually, statistics are printed for every user who has used any paper.
OUTPUT FORMAT
pac formats the output into simple table, using four columns - number of feets or pages (column "pages/feet"), how many copies were made
(column "runs"), total price for this print (column "price") and user login with host name (column "login" or "host name and login"). If
argument name was not used and hence pac is printing information for all users, a summary line with print totals (runs, pages, price) is
appended.
Note that pac on other system might print the price as price per copy.
FILES
/var/account/?acct raw accounting files
/var/account/?_sum summary accounting files
/etc/printcap printer capability data base
SEE ALSO
printcap(5)
HISTORY
The pac command appeared in 4.0BSD.
BUGS
The relationship between the computed price and reality is as yet unknown.
BSD
June 6, 1993 BSD