Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Inserting information from old text file into a new text file Post 302921799 by vbe on Monday 20th of October 2014 11:17:25 AM
Old 10-20-2014
???
What shell and OS you are talking about because here it looks like DOS...
This User Gave Thanks to vbe For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

inserting subscriber no in text file using KSH....

:confused:Dears , I have text file I need to insert the subscriber number at position 32, and need to keep the next field at position 53 (no increasing of the record lenght), I mean I just want to replace the spaces at position 32 with subscirber number . for example A B A ... (1 Reply)
Discussion started by: atiato
1 Replies

2. Shell Programming and Scripting

Inserting text and modifying the file

I am in a dire need of doing this job , please help from shell script or perl script. It will be highly appreciated. Please have a look at the following INPUT file; The first 14 rows are not of interest but I want them to be included in the output file as they are. From the row 14... (3 Replies)
Discussion started by: digipak
3 Replies

3. Shell Programming and Scripting

inserting a string to a text file

Hello Can somebody please help me with the following script? I'm trying to create a text file with 20 blank lines and then insert a string in line 2 but nothing is printed in the itxtfile. I can create the file with 20 blank lines but when I "tell" it to print something on the second line, it... (4 Replies)
Discussion started by: goude
4 Replies

4. UNIX for Dummies Questions & Answers

Inserting a column into a text file

I have a tab delimited text file with multiple columns (data.txt). I would like to insert a column into the text file. The column I want to insert is in a text file (column.txt). I want to insert it into the 5th column of data.txt. How do I go about doing that? Thanks! (2 Replies)
Discussion started by: evelibertine
2 Replies

5. Shell Programming and Scripting

Inserting text into a new file

Hi all, I want to create a file and then insert some text into it. I'm trying to create a .sh script that will create a new python file from a template. Can someone tell me why this won't work, touch $1 | sed -e '1i\Some test code here' Sorry I'm quite new to all this! Just as a side... (3 Replies)
Discussion started by: ahodgson
3 Replies

6. Shell Programming and Scripting

Help with sed and inserting text from another file

I need to insert text from one file into another file after specific term. I guess sed is the best method of doing this and I can insert a specified text string using this script but I am not sure how to modify it to insert text from another file: #!/bin/sh sed 's/\<VirtualHost... (17 Replies)
Discussion started by: barrydocks
17 Replies

7. UNIX for Dummies Questions & Answers

Inserting text into a file with awk or sed

Hello, I've been trying to get a script working that fetches weather-data and converts it into an .ics file. The script works so far put I'm stuck at the point where I need to add specific static data. A thorough search through the forum did not point me into the right direction. #!/bin/bash... (3 Replies)
Discussion started by: Schubi
3 Replies

8. Shell Programming and Scripting

Inserting text in file names while copying them.

I'm trying to find a Bourne shell script that will copy files from one directory using a wild card for the file name (*) and add some more characters in the middle of the file name as it is copied. As an example: /u01/tmp-file1.xml => /u02/tmp-file1-20130620.xml /u01/tmp-file2.xml => ... (6 Replies)
Discussion started by: Tony Keller
6 Replies

9. Shell Programming and Scripting

Inserting IDs from a text file into a sequence alignment file

Hi, I have one file with one column and several hundred entries File1: NA1 NA2 NA3And now I need to run a command within a mapping aligner tool to insert these sample names into a sequence alignment file (SAM) such that they look like this @RG ID:Library1 SM:NA1 PL:Illumina ... (7 Replies)
Discussion started by: nans
7 Replies

10. Shell Programming and Scripting

Match text to lines in a file, iterate backwards until text or text substring matches, print to file

hi all, trying this using shell/bash with sed/awk/grep I have two files, one containing one column, the other containing multiple columns (comma delimited). file1.txt abc12345 def12345 ghi54321 ... file2.txt abc1,text1,texta abc,text2,textb def123,text3,textc gh,text4,textd... (6 Replies)
Discussion started by: shogun1970
6 Replies
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)
All times are GMT -4. The time now is 06:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy