12-14-2013
Difference between code page used with grep and vi
Not certain the title is phrased correctly but here's the issue:
I need to scrape data out of a pdf file. I ftp the file from windows to unix(solaris 10) as a binary file. Open the file in vi and search for a string, Matrix, but no joy. Then I cat the same file, pipe it to grep 'Matrix' and the string is found.
Can anyone explain this behavior and, perhaps, how to get vi to act the same as grep. BTW I did not try awk, perl or sed; yet anyway.
Thanks,
rj
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can someone tell me how do I find the list of comptabile codepages on Linux(suse) , Is it /usr/lib/locale or somewhere else ?
I was wandering if someone has expereince in using cycrillic chars (russian) in unix / linux ?
Thanks (2 Replies)
Discussion started by: braindrain
2 Replies
2. UNIX for Dummies Questions & Answers
What is the main difference between grep and sed (1 Reply)
Discussion started by: ss4u
1 Replies
3. UNIX for Dummies Questions & Answers
I am writing a script which will read in search terms from a text file and pass each line to Lynx. Lynx will grab the source html, then I want grep/tr, whatever to search for the first occurance of a term (mydomain.name), then delete from that 1st occurance on, creating a new end of file.
Then... (0 Replies)
Discussion started by: roninuta
0 Replies
4. UNIX Desktop Questions & Answers
Hi All,
Can anyone please explain me the difference between grep, egrep and fgrep with examples.
I am new to unix environment.. Your help is highly appreciated.
Regards,
ravi (2 Replies)
Discussion started by: ravind27
2 Replies
5. Shell Programming and Scripting
I want to download a particular page from the internet and get the source code of the page in html format.
I want to parse the source code to find a specific parameters using grep command.
could someone tell me the linux command to download a specific page and parse the source code of it.
... (1 Reply)
Discussion started by: ahamed
1 Replies
6. Shell Programming and Scripting
Hi
What is the difference between grep '.*' xx and grep .* xx?
What grep .* xx command will do where xx is file name.
Thanks
Sas (4 Replies)
Discussion started by: SasDutta
4 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Please i need to know the difference between grep, egrep & grep -i when used to serach through a file.
My platform is SunOS 5.9 & i'm using the korn shell.
Regards,
- divroro12 - (2 Replies)
Discussion started by: divroro12
2 Replies
8. Shell Programming and Scripting
Hi,
I need to know the difference between this commands:
grep * *search*
grep "*" *search*
As far as i know does the 2nd command search for files which have a name with *search* and greps then all which have chars from a-z in the file content.
But was does the first command??
Best... (1 Reply)
Discussion started by: xus
1 Replies
9. AIX
Helo all,
I' trying to print Portuguese special characters like ç, ã, º, º .
I already set my print queue for CODE PAGE of printer ibm.860 but every time i send a print test i receive the following error:
0782-059 Attribute name passed to subroutine piocmdout
by program... (2 Replies)
Discussion started by: marques_rmc
2 Replies
10. Linux
Hi all...
Reference this URL:
https://www.unix.com/unix-for-beginners-questions-and-answers/282400-lower-ascii-characters.html#post303037272
Researching in google for an answer showed the numerous times this has been asked for in various guises.
So it inspired me to create a pseudo-IBM... (2 Replies)
Discussion started by: wisecracker
2 Replies
LEARN ABOUT X11R4
install-solaris
install-solaris(1M) install-solaris(1M)
NAME
install-solaris - install the Solaris operating system
SYNOPSIS
install-solaris
install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation,
install-solaris invokes either a text-based installer or a graphical installer.
The following minimum requirements for physical memory dictate which features are available during installation:
For SPARC machines:
128 MB
Minimum physical memory for all installation types
128 MB
Minimum physical memory required for windowing system
384 MB
Minimum physical memory required for graphical-based installation
For x86 machines:
256 MB
Minimum physical memory for all installation types
256 MB
Minimum physical memory required for windowing system
512 MB
Minimum physical memory required for graphical-based installation
In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea-
tures available.
install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more
details.
install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the
installation media. Refer to the for disk space requirements.
Refer to the for more information on the various menus and selections.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
pkginfo(1), install(1M), pkgadd(1M), attributes(5)
It is advisable to exit install-solaris by means of the exit options in the install-solaris menus.
23 Sep 2005 install-solaris(1M)