Sponsored Content
Top Forums Shell Programming and Scripting cat in linux, file holding special charcters Post 302235211 by in2nix4life on Thursday 11th of September 2008 10:52:06 AM
Old 09-11-2008
Hope this helps:

grep -E '(<.*Start calculation|<.*Result size)' file.txt
 

9 More Discussions You Might Find Interesting

1. Solaris

Handling Special Charcters

Dear All, I have created a UTF-8 database to store multi-lingual charcters. Below is the query from which i insert from Winsql (front-end third party database browser tool), the data gets inserted properly. insert into a (no, lbl) values (1, "Cliquez ici pour revenir Ã_ la recherche de... (2 Replies)
Discussion started by: lloydnwo
2 Replies

2. UNIX for Advanced & Expert Users

remove charcters

How do i remove single quotes(') from a file. Can we use sed for it (2 Replies)
Discussion started by: kris01752
2 Replies

3. UNIX for Advanced & Expert Users

Line Longer Than 2048 Charcters

I have a csv file with a record size of greater than 2048.So when i try to open the file in VI..This is the error i get (test.csv" A line cannot be longer than 2048 characters) Is there a way i can change this parameter to read a bigger line (2 Replies)
Discussion started by: kris01752
2 Replies

4. UNIX for Dummies Questions & Answers

Difference between cat , cat > , cat >> and touch !!!

Hi Can anybody tell the difference between Difference between cat , cat > , cat >> and touch command in UNIX? Thanks (6 Replies)
Discussion started by: skyineyes
6 Replies

5. UNIX for Advanced & Expert Users

Substitution when special charcters involved

I am trying to substitute a substring in a file and am having difficulty due to the presence of 'special characters' I tried sed -e "s/Bob's birthday 13/11/08 (today)/Bob's birthday 14/11/08 (tomorrow)/" file1 This does not action any change due to the square brackets. How can I cater... (5 Replies)
Discussion started by: SAMZ
5 Replies

6. Shell Programming and Scripting

cat in the command line doesn't match cat in the script

Hello, So I sorted my file as I was supposed to: sort -n -r -k 2 -k 1 file1 | uniq > file2 and when I wrote > cat file2 in the command line, I got what I was expecting, but in the script itself ... sort -n -r -k 2 -k 1 averages | uniq > temp cat file2 It wrote a whole... (21 Replies)
Discussion started by: shira
21 Replies

7. UNIX for Dummies Questions & Answers

Meta charcters

Find out lines in a given file consisting of the following pattern BCAA, BCAAA, BCAAAA, BCAAAAA, BCAAAAAA (0 Replies)
Discussion started by: Phaneendra G
0 Replies

8. Homework & Coursework Questions

Meta charcters

find out lines in a given file consisting of the following pattern BCAA, BCAAA, BCAAAA, BCAAAAA, BCAAAAAA (1 Reply)
Discussion started by: Phaneendra G
1 Replies

9. Linux

File conversion and removing special characters from a file in Linux

I have a .CSV file when I check for the special characters in the file using the command cat -vet filename.csv, i get very lengthy lines with "^@", "^I^@" and "^@^M" characters in between each alphabet in all of the records. Using the code below file filename.csv I get the output as I have a... (2 Replies)
Discussion started by: dhruuv369
2 Replies
LINPROCFS(5)						      BSD File Formats Manual						      LINPROCFS(5)

NAME
linprocfs -- Linux process file system SYNOPSIS
linproc /compat/linux/proc linprocfs rw 0 0 DESCRIPTION
The Linux process file system, or linprocfs, emulates a subset of Linux' process file system and is required for the complete operation of some Linux binaries. The linprocfs provides a two-level view of process space. At the highest level, processes themselves are named, according to their process ids in decimal, with no leading zeros. There is also a special node called self which always refers to the process making the lookup request. Each node is a directory containing several files: exe A reference to the vnode from which the process text was read. This can be used to gain access to the process' symbol table, or to start another copy of the process. mem The complete virtual memory image of the process. Only those addresses which exist in the process can be accessed. Reads and writes to this file modify the process. Writes to the text segment remain private to the process. Each node is owned by the process's user, and belongs to that user's primary group, except for the mem node, which belongs to the kmem group. FILES
/compat/linux/proc The normal mount point for the linprocfs. /compat/linux/proc/cpuinfo CPU vendor and model information in human-readable form. /compat/linux/proc/meminfo System memory information in human-readable form. /compat/linux/proc/pid A directory containing process information for process pid. /compat/linux/proc/self A directory containing process information for the current process. /compat/linux/proc/self/exe The executable image for the current process. /compat/linux/proc/self/mem The complete virtual address space of the current process. EXAMPLES
To mount a linprocfs file system on /compat/linux/proc: mount -t linprocfs linproc /compat/linux/proc SEE ALSO
mount(2), unmount(2), procfs(5), pseudofs(9) HISTORY
The linprocfs first appeared in FreeBSD 4.0. AUTHORS
The linprocfs was derived from procfs by Pierre Beyssac. This manual page was written by Dag-Erling Smorgrav, based on the procfs(5) manual page by Garrett Wollman. BSD
August 10, 1994 BSD
All times are GMT -4. The time now is 05:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy