08-25-2005
Er, no.
Quote:
Originally Posted by bakunin
Use "print" instead:
What Unix are you using? In GNU/Linux, "print" is an alias to "run-mailcap" which certainly does not do what you're saying it does. It doesn't exist at all in OpenBSD, which is the other Unix I've got access to at the moment.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've tried this:
echo "${bold}User${norm} : u"\t"${bold}All Users ${norm} : a\t"
and i got this output:
Specific User : u\tAll User: a\t (14 Replies)
Discussion started by: laila63
14 Replies
2. UNIX for Dummies Questions & Answers
I have input like:
1234567890
cut -c1-3,6-7,9-10 input > output
Now I got 1236790.
I want to insert space between each cut. So the output like:
123 67 90
Can anybody help?
Thanks. (7 Replies)
Discussion started by: sslr
7 Replies
3. Shell Programming and Scripting
Hi,
I'm using the following to insert lines into file:
sed ${rowNr}i'\
first row\
second row\
third row\
' file.txt
How can I add tab in front of each added line? "\t" or actual TAB does not seem to work?
Thanks! (2 Replies)
Discussion started by: Juha
2 Replies
4. Shell Programming and Scripting
Hi All,
I am using Unix ksh script.
I need to insert values to a table using the o/p from a slelect statement.
Can anybody Help!
My script looks like tihs.
---`sqlplus -s username/password@SID << EOF
set heading off
set feedback off
set pages 0
insert into ${TB_NAME}_D... (2 Replies)
Discussion started by: nkosaraju
2 Replies
5. Shell Programming and Scripting
trying to insert a LF and 2 TABs for this:
sed 's/<td><\/td>/<td>\n\t\t<\/td>/' infile.
but, I'm not getting the syntax for inserting the LF and TABs correct (1 Reply)
Discussion started by: dba_frog
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have the following code:
LIST=`ls | grep '.sql$'`
echo $LIST
The above code will give me something like..
file1.sh file2.sh file3.sh file4.sh file5.sh
I want to display the values into rows using echo like...
file1.sh
file2.sh (5 Replies)
Discussion started by: adshocker
5 Replies
7. Shell Programming and Scripting
Hi ,
I have a file with 5 colums each are sererated by tab. I am reading each line and adding extra two columns , the value depends on 5th column..
Now am trying to store each and every record in another file..
using the command echo $line $6thcol $7th col
$line - readin the each... (2 Replies)
Discussion started by: arukuku
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I have this:
begin data;
dimensions nind=168 nloci=6;
info
BDT001.4 ( 1 , 1 ) ( 1 , 12 )
BDT003.4 ( 1 , 1 ) ( 12 , 12 )
BDT007.4 ( 1 , 1 ) ( 12 , 12 )
BDT009.4 ( 1 , 32 ) ( 12 , 22 )
etc, etc
And need this:
begin data;
dimensions nind=168 nloci=6;
info
... (2 Replies)
Discussion started by: MDeBiasse
2 Replies
9. UNIX for Dummies Questions & Answers
I have several lines in a file that I want to replace a space with a tab.
For example:
111047 Julie Jones email@email.com
111047 Julie Jones email@email.com
I want to replace the space after the word "jones" with a tab.
How do I achieve that in Vi?
Please assist.
Thanks! (5 Replies)
Discussion started by: onlinelearner02
5 Replies
10. Shell Programming and Scripting
Hi folks,
I have a scenario to convert the update statements into insert statements using shell script (awk, sed...) or in database using regex.
I have a bunch of update statements with all columns in a file which I need to convert into insert statements.
UPDATE TABLE_A SET COL1=1 WHERE... (0 Replies)
Discussion started by: dev123
0 Replies
LEARN ABOUT DEBIAN
print.ini
print.ini(5) File Formats Manual print.ini(5)
NAME
print.ini -- survex printer settings
Description
The print.ini file contains printer descriptions for the Survex printer drivers.
File Format
The format of the print.ini file is similar to the .ini files used on Microsoft Windows. The file is divided into sections, each section
corresponding to a separate printer description. A section starts with a section name in square brackets, e.g. aven's built-in printer
support uses the aven section:
[aven]
followed by some options of the form <option>=<setting>, e.g.:
font_size_labels=6
In the supplied print.ini each option is preceded by a comment (indicated by a semicolon ';') briefly explaining the option.
Customising Printer Settings
If you wish to change the size of the font used for labels or the colours used you need to override some of the setting in print.ini.
You shouldn't modify the master print.ini (located in /usr/share/survex on Unix, or in the same directory as the Survex program files on
other systems), or your changes will be overwritten by upgrades. Instead create:
o /etc/survex/print.ini (Unix - system-wide settings)
o ~/.survex/print.ini (Unix - per user settings)
o myprint.ini in the directory where Survex is installed (other platforms)
If one of these files contains a setting then aven will use it instead of the setting in the master print.ini. Any settings not specified
will still fall back to the values in print.ini.
See Also
printdm(1), printhpgl(1), printpcl(1), printps(1)
print.ini(5)