Hi, excuse me for my poor english.
My problem is that:
I have a File
i want to add to each line of that file two strings: one at the beginning of the line, one at the ending.
string1="abcd"
string2="efgh"
i want $string1 content $string2 for each line.
Is that possible? (3 Replies)
file1 contains:
this is a test
this is a test and only a test
this is another test
this is another test and only another only
i'd like my file to look like this:
this is a test.
this is a test and only a test.
this is another test.
this is another test and only another only. (6 Replies)
Hi,
I just wanted to know if you have any idea or script to insert a text at everyend of the line, the text will vary. for example
sample:
this is line1 ok
this is line2 ok
this is line3 ok
output:
this is line1 ok /home/line1.txt
this is line2 ok /home/line2.txt
this is line3 ok... (6 Replies)
Hello Firends
I have a file that contains data within single quotes, which has meaning of its own. When I am trying to parse through the file for a different functionality I noticed that I was loosing the backslash when occurrences in the file look like ('\0'). I would want to retain the... (3 Replies)
Dear
I have one problem in SCO Unix command line.
I want to disable execution of commands with backslash.
For example - if the user executes the following command
\exec_script
Here - i want the system should NOT execute this command.
Can any one give me a suitable... (8 Replies)
Hi guys,
I have some echo scripts and awk scripts like these:
echo "some text" > output1
.
.
awk '{....}{print}' input > output2Both output1 and output2 are saved with unix END Of Line, then,
is there an option to include within echo command and awk command to save the output as DOS END Of... (3 Replies)
I have text file which is a tab delimited one. Sample data from the file is shown below:
unix is\ great\ os
linux\ is superb
I want to replace that backslash with empty string preserving the tab delimiter. Output should be
unix is great os
linux is ... (3 Replies)
Hi all,
can some one help me out
file 1 i have
06/01 3:14 d378299
06/01 8:10 d642036
06/01 10:51 d600441
06/01 10:52 d600441
06/01 11:11 d607339
06/01 11:49 d398706
something like this and in file named list i have ( there is space btwn 06/01 and 11:49 and d398706)
d607339... (5 Replies)
hi,
I'm trying to calculate IP addresses and their respective calls to our apache Server. The standard format of the input is
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST... (2 Replies)
Discussion started by: busyboy
2 Replies
LEARN ABOUT DEBIAN
conio
libcaca DOS conio.h compatibility layer(3caca) libcaca libcaca DOS conio.h compatibility layer(3caca)NAME
libcaca DOS conio.h compatibility layer -
Functions
__extern char * caca_conio_cgets (char *str)
DOS conio.h cgets() equivalent.
__extern void caca_conio_clreol (void)
DOS conio.h clreol() equivalent.
__extern void caca_conio_clrscr (void)
DOS conio.h clrscr() equivalent.
__extern int caca_conio_cprintf (const char *format,...)
DOS conio.h cprintf() equivalent.
__extern int caca_conio_cputs (const char *str)
DOS conio.h cputs() equivalent.
__extern int caca_conio_cscanf (char *format,...)
DOS stdio.h cscanf() equivalent.
__extern void caca_conio_delay (unsigned int)
DOS dos.h delay() equivalent.
__extern void caca_conio_delline (void)
DOS conio.h delline() equivalent.
__extern int caca_conio_getch (void)
DOS conio.h getch() equivalent.
__extern int caca_conio_getche (void)
DOS conio.h getche() equivalent.
__extern char * caca_conio_getpass (const char *prompt)
DOS conio.h getpass() equivalent.
__extern int caca_conio_gettext (int left, int top, int right, int bottom, void *destin)
DOS conio.h gettext() equivalent.
__extern void caca_conio_gettextinfo (struct caca_conio_text_info *r)
DOS conio.h gettextinfo() equivalent.
__extern void caca_conio_gotoxy (int x, int y)
DOS conio.h gotoxy() equivalent.
__extern void caca_conio_highvideo (void)
DOS conio.h highvideo() equivalent.
__extern void caca_conio_insline (void)
DOS conio.h insline() equivalent.
__extern int caca_conio_kbhit (void)
DOS conio.h kbhit() equivalent.
__extern void caca_conio_lowvideo (void)
DOS conio.h lowvideo() equivalent.
__extern int caca_conio_movetext (int left, int top, int right, int bottom, int destleft, int desttop)
DOS conio.h movetext() equivalent.
__extern void caca_conio_normvideo (void)
DOS conio.h normvideo() equivalent.
__extern void caca_conio_nosound (void)
DOS dos.h nosound() equivalent.
__extern int caca_conio_printf (const char *format,...)
DOS stdio.h printf() equivalent.
__extern int caca_conio_putch (int ch)
DOS conio.h putch() equivalent.
__extern int caca_conio_puttext (int left, int top, int right, int bottom, void *destin)
DOS conio.h puttext() equivalent.
__extern void caca_conio__setcursortype (int cur_t)
DOS conio.h _setcursortype() equivalent.
__extern void caca_conio_sleep (unsigned int)
DOS dos.h sleep() equivalent.
__extern void caca_conio_sound (unsigned int)
DOS dos.h sound() equivalent.
__extern void caca_conio_textattr (int newattr)
DOS conio.h textattr() equivalent.
__extern void caca_conio_textbackground (int newcolor)
DOS conio.h textbackground() equivalent.
__extern void caca_conio_textcolor (int newcolor)
DOS conio.h textcolor() equivalent.
__extern void caca_conio_textmode (int newmode)
DOS conio.h textmode() equivalent.
__extern int caca_conio_ungetch (int ch)
DOS conio.h ungetch() equivalent.
__extern int caca_conio_wherex (void)
DOS conio.h wherex() equivalent.
__extern int caca_conio_wherey (void)
DOS conio.h wherey() equivalent.
__extern void caca_conio_window (int left, int top, int right, int bottom)
DOS conio.h window() equivalent.
Detailed Description
These functions implement DOS-like functions for high-level text operations.
Author
Generated automatically by Doxygen for libcaca from the source code.
Version 0.99.beta18 Fri Apr 6 2012 libcaca DOS conio.h compatibility layer(3caca)