Sponsored Content
Full Discussion: Filtering text from a string
Top Forums UNIX for Dummies Questions & Answers Filtering text from a string Post 1571 by Cozmic on Thursday 15th of March 2001 10:18:48 AM
Old 03-15-2001
Of cource somebody ran into this problem allready!
It was pretty ignorant of me to think that it wasn't allready solved Smilie.

Thanks PxT. This is just what I was looking for.
Cozmic
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help in string filtering (KSH)

Hi all, I'm interested in printing out only the prefix of a formatted set of filenames. All files of this type have the same 8 character suffix. I'm using KSH. Is there a command I could use to print the filenames, less the last 8 characters? Was thinking of using sed 's/<last 8 chars>//',... (1 Reply)
Discussion started by: rockysfr
1 Replies

2. Shell Programming and Scripting

Another text filtering question

I want to remove everything from a file but the word following the search word. Example: crap crap crap crap SearchWord WordToKeep crap crap crap How would I do this with say awk or grep? Thank you! (4 Replies)
Discussion started by: DethLark
4 Replies

3. Shell Programming and Scripting

filtering out duplicate substrings, regex string from a string

My input contains a single word lines. From each line data.txt prjtestBlaBlatestBlaBla prjthisBlaBlathisBlaBla prjthatBlaBladpthatBlaBla prjgoodBlaBladpgoodBlaBla prjgood1BlaBla123dpgood1BlaBla123 Desired output --> data_out.txt prjtestBlaBla prjthisBlaBla... (8 Replies)
Discussion started by: kchinnam
8 Replies

4. Shell Programming and Scripting

filtering text

Hi how can I filter the text using this one. SAMPLE servervmpool -listall|tail -11 ================================================================================ pool number: 112 pool name: Net-Ora-1wk description: Net-Ora-1wk max partially full: 0... (12 Replies)
Discussion started by: kenshinhimura
12 Replies

5. Shell Programming and Scripting

text processing and filtering scripting

Still new to bash. Using debian lenny 5, bash version 3.2.39. I'm working on three scripts. I need help completing them. One script that inputs a plain text file, echo then chop it up into separate whitespace-delimited strings as an output. Not sure how to do this... for example, the... (4 Replies)
Discussion started by: l20N1N
4 Replies

6. Shell Programming and Scripting

Filtering out text with awk

(0 Replies)
Discussion started by: nilekyle
0 Replies

7. Shell Programming and Scripting

filtering string

hlow all i need help for my case i want to get variable 20(in bold) but filter in print $3 not $2 so this input 95:20111005_20111123:1821546322 96:20111005_20111123:0053152068 97:20111005_20111123:1820960407 98:20111005_20111123:2021153102 99:20111005_20111123:2021153202... (4 Replies)
Discussion started by: zvtral
4 Replies

8. Shell Programming and Scripting

text filtering

INPUT FILE: Date: 10-JUN-12 12:00:00 B 0: 00 00 00 00 10 00 16 28 B 120: 00 00 00 39 53 32 86 29 Date: 10-JUN-12 12:00:10 B 0: 00 00 00 00 10 01 11 22 B 120: 00 00 00 29 23 32 16 29 Date: 10-JUN-12 12:00:20 B 0: 00 00 00 00 10 02 17 29 B 120: 00 00 35 51 42 66 14 Date: 10-JUN-12... (5 Replies)
Discussion started by: thibodc
5 Replies

9. Shell Programming and Scripting

Need Help of filtering string from a file.

HI All, We have an Redhat Machine, And some folder with couple simple text files, this files containing a lot of lines with various strings and IP address with different classes. The Requirement in eventually , is to pass the all various IP addresses to Excel. My question is : what is... (4 Replies)
Discussion started by: James Stone
4 Replies

10. UNIX for Beginners Questions & Answers

Filtering text with awk

I need to filter a file that is composed like that: >Cluster 0 0 292nt, >last294258;size=1;... * >Cluster 1 0 292nt, >last111510;size=1;... * 1 290nt, >last136280;size=1;... at -/98.62% 2 292nt, >last217336;size=1;... at +/99.66% 3 292nt, >last280937;size=1;... at -/99.32% >Cluster 2... (6 Replies)
Discussion started by: pedro88
6 Replies
hwloc_topology_cpubind_support(3)			     Hardware Locality (hwloc)				 hwloc_topology_cpubind_support(3)

NAME
hwloc_topology_cpubind_support - SYNOPSIS
#include <hwloc.h> Data Fields unsigned char set_thisproc_cpubind unsigned char get_thisproc_cpubind unsigned char set_proc_cpubind unsigned char get_proc_cpubind unsigned char set_thisthread_cpubind unsigned char get_thisthread_cpubind unsigned char set_thread_cpubind unsigned char get_thread_cpubind unsigned char get_thisproc_last_cpu_location unsigned char get_proc_last_cpu_location unsigned char get_thisthread_last_cpu_location Detailed Description Flags describing actual PU binding support for this topology. Field Documentation unsigned char hwloc_topology_cpubind_support::get_proc_cpubind Getting the binding of a whole given process is supported. unsigned char hwloc_topology_cpubind_support::get_proc_last_cpu_location Getting the last processors where a whole process ran is supported unsigned char hwloc_topology_cpubind_support::get_thisproc_cpubind Getting the binding of the whole current process is supported. unsigned char hwloc_topology_cpubind_support::get_thisproc_last_cpu_location Getting the last processors where the whole current process ran is supported unsigned char hwloc_topology_cpubind_support::get_thisthread_cpubind Getting the binding of the current thread only is supported. unsigned char hwloc_topology_cpubind_support::get_thisthread_last_cpu_location Getting the last processors where the current thread ran is supported unsigned char hwloc_topology_cpubind_support::get_thread_cpubind Getting the binding of a given thread only is supported. unsigned char hwloc_topology_cpubind_support::set_proc_cpubind Binding a whole given process is supported. unsigned char hwloc_topology_cpubind_support::set_thisproc_cpubind Binding the whole current process is supported. unsigned char hwloc_topology_cpubind_support::set_thisthread_cpubind Binding the current thread only is supported. unsigned char hwloc_topology_cpubind_support::set_thread_cpubind Binding a given thread only is supported. Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.7 Sun Apr 7 2013 hwloc_topology_cpubind_support(3)
All times are GMT -4. The time now is 06:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy