Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Delete columns with a specific title XXX, where the position change in each file Post 302988443 by echo manolis on Monday 26th of December 2016 11:56:17 AM
Old 12-26-2016
You're right, I had not thought about the output type but only the input file type... thanks again !!!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Delete a file from XXX.tar.Z

Hi All can u please let me know how to delete a file from XXX.tar.Z file with out uncompressing this file. thanks in advance. --Bali (0 Replies)
Discussion started by: balireddy_77
0 Replies

2. UNIX for Dummies Questions & Answers

Script to change/find/delete/install a specific file

Hi Very much a newbie to UNIX & scripting, but have identified an area within work that would benefit from being automated, as its repeated manually very often, and it looks like the ideal first script! What I need to do is change directory to a users home (cd ~), and then find and remove a... (6 Replies)
Discussion started by: Great Uncle Kip
6 Replies

3. Shell Programming and Scripting

Add characters at specific position in file

Hello I want to add some value at the specific position. My file has data like Hello Welcome to UNIX Forums Need Assistance I want to add some value at the end but at same character position for all lines. I want my output file to have data like : Here '_' represents blanks.... (3 Replies)
Discussion started by: dashing201
3 Replies

4. Shell Programming and Scripting

Change many columns position/order

Hi everyone, Please some help over here. (I´m using cygwing) I have files with 40 columns and 2000 lines in average. I´m trying to change the order position as follow. Original columns position:... (3 Replies)
Discussion started by: cgkmal
3 Replies

5. Shell Programming and Scripting

Read columns from file by position

Hello , i have a fixed-length record file where each column has a specific position. how can retrive two or more column based on their positions in the file ? Thank you (5 Replies)
Discussion started by: alain.kazan
5 Replies

6. UNIX for Dummies Questions & Answers

How to delete all columns that start with a specific value

I have this space delimited large text file with more than 1,000,000+ columns and about 100 rows. I want to delete all the columns that start with NA such that: File before modification aa bb cc NA100 dd aa b1 c2 NA101 de File after modification aa bb cc dd aa b1 c2 de How would I... (3 Replies)
Discussion started by: evelibertine
3 Replies

7. Shell Programming and Scripting

position specific replace in file

How to replace the position specific values in the file.. i searched a lot the forums but i couldn't able to do... i have file like below 576666666666666666666666666 7878 897987 121 0asdas Y12 5900fbb 777 09JJJ 78798347892374 234234234364 234232898 89HJHIHIGIUG989902743748327khjkhkjlh... (6 Replies)
Discussion started by: greenworld123
6 Replies

8. Shell Programming and Scripting

Delete character on specific position

Hi, im still new in unix. i want to ask how to delete character on specific position in line, lets say i want to remove 5 character from position 1000, so characters from position 1000-1005 will be deleted. i found this sed command can delete 4 characters from position 10, but i dont know if... (7 Replies)
Discussion started by: bluesue
7 Replies

9. Shell Programming and Scripting

Add character to specific columns using sed or awk and make it a permanent change

Hi, I am writing a shell script where I want that # should be added in all those lines as the first character where the pattern matches. file has lot of functions defined a.sh #!/bin/bash fn a { beautiful evening sunny day } fn b { } fn c { hello world .its a beautiful day ... (12 Replies)
Discussion started by: ashima jain
12 Replies

10. Shell Programming and Scripting

Count specific character of a file in each line and delete this character in a specific position

I will appreciate if you help me here in this script in Solaris Enviroment. Scenario: i have 2 files : 1) /tmp/TRANSACTIONS_DAILY_20180730.txt: 201807300000000004 201807300000000005 201807300000000006 201807300000000007 201807300000000008 2)... (10 Replies)
Discussion started by: teokon90
10 Replies
NG_GIF_DEMUX(4) 					   BSD Kernel Interfaces Manual 					   NG_GIF_DEMUX(4)

NAME
ng_gif_demux -- demultiplexer for packets from ng_gif(4) nodes SYNOPSIS
#include <netgraph/ng_gif_demux.h> DESCRIPTION
The ng_gif_demux netgraph node type demultiplexes the output from ng_gif(4) nodes in the netgraph(4) networking subsystem. The gif hook is meant to be connected to the lower or orphans hook of an ng_gif(4) node. The inet, inet6, atalk, ipx, atm, natm, and ns hooks output frames of the given type when they are received on the gif hook. When a frame is received on one of these hooks, it is encapsu- lated and sent out the gif hook. HOOKS
This node type supports the following hooks: gif Connection to the lower or orphans hook of an ng_gif(4) node. inet Hook for input and output of IP frames. inet6 Hook for input and output of IPv6 frames. atalk Hook for input and output of AppleTalk frames. ipx Hook for input and output of IPX frames. atm Hook for input and output of ATM frames. natm Hook for input and output of NATM frames. ns Hook for input and output of NS frames. CONTROL MESSAGES
This node type supports only the generic control messages. SEE ALSO
gif(4), netgraph(4), netintro(4), ng_gif(4), ifconfig(8), ngctl(8), nghook(8) AUTHORS
Brooks Davis <brooks@FreeBSD.org> BSD
September 18, 2001 BSD
All times are GMT -4. The time now is 08:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy