Sponsored Content
Full Discussion: tab every new line
Top Forums UNIX for Dummies Questions & Answers tab every new line Post 302089501 by blowtorch on Tuesday 19th of September 2006 10:21:18 AM
Old 09-19-2006
Sure, what have you got so far? Don't you think that it is just plain wrong to expect people to take down your requirements and do your work for you?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

using tab to finish command line parameter

Anyone know how to set it up so that when at command line in unix (specifically solaris 2.5.1), and you hit the tab it will finish the command with the nearest file that matches? AND how to set it up so using up and down arrows access your previous commands? Thanks for all the help here, i've had... (3 Replies)
Discussion started by: kymberm
3 Replies

2. Shell Programming and Scripting

to see space, tab, end of the line chracters

what can I use ?? In vi, I can use :set list <-- and see end of line $.. or use cat -A but I am wondering if there is command or program that allows me to see all the hidden characters( space, tab and etc) Please help thanks. (3 Replies)
Discussion started by: convenientstore
3 Replies

3. UNIX for Advanced & Expert Users

how to search delimiter tab in a line and replace it

hi every one plz help me i want to search for a line contains tabspace This is a line The should be changed see the above line is seperated with tab space i want to replace that tab space in to # as This is a line#The should be changed i have tried with... (4 Replies)
Discussion started by: kkraja
4 Replies

4. Shell Programming and Scripting

convert new line to tab

hey i m newbie i dont know whether this is happining in my terminal or is there any reason behind this here it is when i do 1.) sed -n 's/\t/\n/gp' space > enter #where space is tab seperated file it works fine it give me a outupt that all tab seperated convert into column but when i... (3 Replies)
Discussion started by: narang.mohit
3 Replies

5. Shell Programming and Scripting

how to replace new line ( \n ) with space or Tab in Sed

Hi, how to replace new line with tab in sed ... i used sed -e 's/\n/\t/g' <filename > but its not working (1 Reply)
Discussion started by: mail2sant
1 Replies

6. Shell Programming and Scripting

Read and copy xml line by line and preserve tab?

I'm trying to read an xml file and copy it line by line to another file and want to preserve the tabs. What i'm trying to do is if I get to a certain line in the xml, I'm going to check to see if the next line is specifically what I want. If it's not, then I want to insert a single line of text... (4 Replies)
Discussion started by: DeuceLee
4 Replies

7. Shell Programming and Scripting

Count tab in a line

Hi, How to count number of tabs in a line (4 Replies)
Discussion started by: sandy1028
4 Replies

8. UNIX for Dummies Questions & Answers

insert whitespace (tab) at start of each line

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. Shell Programming and Scripting

Adding tab/new line at the end of each line of a file

Hello Everyone, I need a help from experts of this community regarding one of the issue that I am facing with shell scripting. My requirement is to append char's at the end of each line of a file. The char that will be appended is variable and will be passed through command line. The... (20 Replies)
Discussion started by: Sourav Das
20 Replies

10. Shell Programming and Scripting

Removing tab spaces at the end of each line

I have a file which contains the data lines like below.I want to remove the tab spaces at the end of each line.I have tried with the command sed 's/\+$//' file.but it does not work.Can anyone help me on this? 15022 15022 15022 15022 15022 15022 15023 15023 15023 15023 15023 ... (16 Replies)
Discussion started by: am24
16 Replies
vga_drawline(3) 						Svgalib User Manual						   vga_drawline(3)

NAME
vga_drawline - draw a line on the screen SYNOPSIS
#include <vga.h> int vga_drawline(int x1, int y1, int x2, int y2); DESCRIPTION
draws a line from (x1, y1) to (x2, y2) on the screen. If you exchange start and end of the line you should not expect the exactly identical set of pixel be covered by the line. This function is very inefficient as is does a bunch of vga_drawpixel(3) calls, you should consider using gl_line(3) which is very effi- cient, or doing direct screen access instead or use vga_drawscansegment(3) to handle more than one pixel. The color drawn is set with vga_setcolor(3) or vga_setrgbcolor(3) resp. The function always returns 0 (on which you should probably not really rely). SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), gl_line(3) vga_clear(3), vga_setcolor(3), vga_setrgbcolor(3), vga_getpixel(3), vga_drawline(3), vga_drawscanline(3), vga_drawscansegment(3), vga_getscansegment(3) AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function as well as of the original documentation is unknown. This Page was modified by Don Secrest <secrest@uiuc.edu> It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>. Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual. Svgalib (>;= 1.2.11) 21 August 1999 vga_drawline(3)
All times are GMT -4. The time now is 09:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy