LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2005, 08:40 AM   #1
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
Filtering a file (taking paths)


I have Mdk9.2. There's "diskdrake". I want to run it under Slack. So I've run "strace -o xxx diskdrake". Now I have a file with its calls. I want to take only paths, i.e. the strings between quotes, from xxx. But... I don't know cpp. Can you, please, correct what I've written without telling me to learn cpp... I will, but now I only want "diskdrake" to work.
Code:
#include<iostream>
#include<string>
#include<fstream>
using namespace std;

int length(string s){
  int size=0;
  int i=1;
  while (s[i]!="\0")
    size++;
  return size;
  }

int main()
  {
  ifstream in("/home/kornerr/sss1");
  ofstream out("/home/kornerr/theoutput");
  string s,ss;
  ss="";
  bool b=false;
  while (getline(in,s))
    {
    for (int i=0; i<length(s); i++)
      {
      if (s[i]=="\"")
        {
        if (b==false)
	  b=true;
	else
	  {
	  b=false;
	  out << ss << "\n";
	  ss="";
	  };
	}
      else
        if (b==true)
	  ss=ss+s[i];
      };
    };
  return 0;
  }
g++ tells me:
Code:
root@darkstar:~# g++ 1.cpp
1.cpp: In function `int length(std::basic_string<char, std::char_traits<char>,
   std::allocator<char> >)':
1.cpp:9: error: ISO C++ forbids comparison between pointer and integer
1.cpp: In function `int main()':
1.cpp:25: error: ISO C++ forbids comparison between pointer and integer
Your help is very appreciated.
Thanks.
 
Old 05-06-2005, 08:55 AM   #2
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
Well, I've noticed that I should put (') instead of (").
So now it looks like:
Code:
#include<iostream>
#include<string>
#include<fstream>
using namespace std;

int length(string s){
  int size=0;
  int i=1;
  while (s[i]!='\0')
    size++;
  return size;
  }

int main()
  {
  ifstream in("/home/kornerr/sss1");
  ofstream out("/home/kornerr/theoutput");
  string s,ss;
  ss="";
  bool b=false;
  while (getline(in,s))
    {
    for (int i=0; i<length(s); i++)
      {
      if (s[i]=='\"')
        {
        if (b==false)
	  b=true;
	else
	  {
	  b=false;
	  out << ss << "\n";
	  ss="";
	  };
	}
      else
        if (b==true)
	  ss=ss+s[i];
      };
    };

  return 0;
  }
But in ~ I see only an empty document "theoutput"... What's wrong?
Why doesn't it do what I want?
Thanks.
 
Old 05-15-2005, 09:21 AM   #3
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
At least I got it. It works for me
Code:
//cut_a_string_in_a_file_between_two_given_strings.cpp
#include<iostream>
#include<fstream>
using namespace std;

int length(string s)
  {
  int length=0;
  while (s[length]!='\0')
    length++;
  return length;
  }

bool find_substring(int& current_pos, string main_s, string sub_s, int& num_of_matches)
  {
  int i=current_pos;
  int var=0;
  int gotten_num_of_matches=num_of_matches;
  bool b=false;
  for (;i<length(main_s);i++)
    {
    if (main_s[i]==sub_s[var])
      {
      if ((length(sub_s)-1)==var)
        {
	num_of_matches++;
        cout<<"\nMatch found, number "<<num_of_matches<<"\n";
	current_pos=++i;//1
	return true;//2
	//var=0;
	//b=false;
	}
      else
        {
        b=true;
        var++;
	};
      }
    else
      {
      if (b==true)
        {
	b=false;
	i--;
	};
      var=0;
      };
    };
  if (num_of_matches>num_of_matches)
    return true;
  else
    return false;
  }
  
string cut_substring(int from, int to, string main_s)
  {
  string s;
  int till=to-from-1;
  for (int i=0;i<till;i++)
    {
    s=s+main_s[from];
    from++;
    };
  return s;
  }
  
int main()
  {
  ifstream in("/home/kornerr/THEOUTPUTofHSF");
  ofstream out("/home/kornerr/RESULT");
  string main_s;
  int matches=0;
  bool b;
  while (getline(in,main_s))
    {
    int pos=0;
    string sub_s="/usr/";
    b=find_substring(pos,main_s,sub_s,matches);
    if (b==true)
      {
      int pos1=pos;
      pos--;
  
      sub_s='\"';
      b=find_substring(pos,main_s,sub_s,matches);
      if (b==true)
        //out<<cut_substring(pos1,pos-(length(sub_s)-1),main_s)<<"\n";//std view
	out<<"/usr/"<<cut_substring(pos1,pos-(length(sub_s)-1),main_s)<<"\n";//I need
      };
    };
  return 0;
  }

Last edited by kornerr; 05-15-2005 at 09:24 AM.
 
Old 05-15-2005, 09:32 AM   #4
Hivemind
Member
 
Registered: Sep 2004
Posts: 273

Rep: Reputation: 30
I don't fully understand what the code is supposed to do, could you please explain in more detail?
Given some input blabla, what is the expected output if it works as it should? Armed with that knowledge,
I'm sure we could help you clean up the code a lot.
 
Old 05-15-2005, 10:22 AM   #5
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Original Poster
Rep: Reputation: 35
The input file is the result of, e.g., "strace -o kpppoutput kppp". Smth like:
Code:
execve("/opt/kde/bin/kppp", ["kppp"], [/* 47 vars */]) = 0
brk(0)                                  = 0x80cdac8
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/opt/kde/lib/i686/mmx/libkio.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde/lib/i686/mmx", 0xbfffeae0) = -1 ENOENT (No such file or directory)
open("/opt/kde/lib/i686/libkio.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde/lib/i686", 0xbfffeae0) = -1 ENOENT (No such file or directory)
open("/opt/kde/lib/mmx/libkio.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/kde/lib/mmx", 0xbfffeae0)  = -1 ENOENT (No such file or directory)
open("/opt/kde/lib/libkio.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\35\16"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=3175112, ...}) = 0
old_mmap(NULL, 3174196, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40016000
mprotect(0x40300000, 118580, PROT_NONE) = 0
old_mmap(0x40300000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2ea000) = 0x40300000
close(3)                                = 0
open("/opt/kde/lib/libkdesu.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0J\0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=103304, ...}) = 0
old_mmap(NULL, 106116, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4031d000
mprotect(0x40336000, 3716, PROT_NONE)   = 0
old_mmap(0x40336000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x18000) = 0x40336000
close(3)                                = 0
open("/opt/kde/lib/libkdeui.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000X\17"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=2754696, ...}) = 0
old_mmap(NULL, 2758220, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40337000
mprotect(0x405b0000, 165452, PROT_NONE) = 0
old_mmap(0x405b0000, 163840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x278000) = 0x405b0000
old_mmap(0x405d8000, 1612, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x405d8000
close(3)                                = 0
open("/opt/kde/lib/libkdecore.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\272"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1987812, ...}) = 0
old_mmap(NULL, 1994260, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x405d9000
mprotect(0x407b1000, 60948, PROT_NONE)  = 0
old_mmap(0x407b1000, 53248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1d8000) = 0x407b1000
old_mmap(0x407be000, 7700, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x407be000
close(3)                                = 0
open("/opt/kde/lib/libDCOP.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\353"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=206360, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x407c0000
old_mmap(NULL, 212192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x407c1000
mprotect(0x407f2000, 11488, PROT_NONE)  = 0
old_mmap(0x407f2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x31000) = 0x407f2000
old_mmap(0x407f3000, 7392, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x407f3000
close(3)                                = 0
open("/opt/kde/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/i686/mmx/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/qt/lib/i686/mmx", 0xbfffea90) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/i686/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/qt/lib/i686", 0xbfffea90) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/mmx/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/qt/lib/mmx", 0xbfffea90) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/qt/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/X11R6/lib/i686/mmx/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686/mmx", 0xbfffea90) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/i686/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/i686", 0xbfffea90) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/mmx/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib/mmx", 0xbfffea90) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/X11R6/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
open("/usr/lib/./i686/mmx/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/./i686/mmx", 0xbfffea90) = -1 ENOENT (No such file or directory)
open("/usr/lib/./i686/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/./i686", 0xbfffea90)   = -1 ENOENT (No such file or directory)
open("/usr/lib/./mmx/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/./mmx", 0xbfffea90)    = -1 ENOENT (No such file or directory)
open("/usr/lib/./libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/.", {st_mode=S_IFDIR|0755, st_size=32768, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=91220, ...}) = 0
old_mmap(NULL, 91220, PROT_READ, MAP_PRIVATE, 3, 0) = 0x407f5000
close(3)                                = 0
open("/lib/libresolv.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240)\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=65292, ...}) = 0
old_mmap(NULL, 73640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4080c000
mprotect(0x4081b000, 12200, PROT_NONE)  = 0
old_mmap(0x4081b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x4081b000
old_mmap(0x4081c000, 8104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4081c000
close(3)                                = 0
open("/opt/kde/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/./libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libutil.so.1", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\16\0\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=8012, ...}) = 0
old_mmap(NULL, 10668, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4081e000
mprotect(0x40820000, 2476, PROT_NONE)   = 0
old_mmap(0x40820000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40820000
close(3)                                = 0
open("/opt/kde/lib/libart_lgpl_2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/libart_lgpl_2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libart_lgpl_2.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/./libart_lgpl_2.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260#\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=88600, ...}) = 0
old_mmap(NULL, 90824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40821000
mprotect(0x40837000, 712, PROT_NONE)    = 0
old_mmap(0x40837000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x15000) = 0x40837000
close(3)                                = 0
open("/opt/kde/lib/libkdefx.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\256\0"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=173064, ...}) = 0
old_mmap(NULL, 177212, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40838000
mprotect(0x40862000, 5180, PROT_NONE)   = 0
old_mmap(0x40862000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x29000) = 0x40862000
old_mmap(0x40863000, 1084, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40863000
close(3)                                = 0
open("/opt/kde/lib/libqt-mt.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/libqt-mt.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\331\31"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=7019004, ...}) = 0
old_mmap(NULL, 7030064, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40864000
mprotect(0x40ed5000, 275760, PROT_NONE) = 0
old_mmap(0x40ed5000, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x670000) = 0x40ed5000
old_mmap(0x40f15000, 13616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40f15000
close(3)                                = 0
open("/opt/kde/lib/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/libfontconfig.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libfontconfig.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\202"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=152320, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40f19000
old_mmap(NULL, 158648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40f1a000
mprotect(0x40f3d000, 15288, PROT_NONE)  = 0
old_mmap(0x40f3d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x22000) = 0x40f3d000
old_mmap(0x40f40000, 3000, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40f40000
close(3)                                = 0
open("/opt/kde/lib/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/qt/lib/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib/libmng.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/./libmng.so.1", O_RDONLY) = 3
rea
After using what I've written, I get (in output file):
Code:
/usr/lib/qt/lib/i686/mmx/libresolv.so.2
/usr/lib/qt/lib/i686/mmx
/usr/lib/qt/lib/i686/libresolv.so.2
/usr/lib/qt/lib/i686
/usr/lib/qt/lib/mmx/libresolv.so.2
/usr/lib/qt/lib/mmx
/usr/lib/qt/lib/libresolv.so.2
/usr/lib/qt/lib
/usr/X11R6/lib/i686/mmx/libresolv.so.2
/usr/X11R6/lib/i686/mmx
/usr/X11R6/lib/i686/libresolv.so.2
/usr/X11R6/lib/i686
/usr/X11R6/lib/mmx/libresolv.so.2
/usr/X11R6/lib/mmx
/usr/X11R6/lib/libresolv.so.2
/usr/X11R6/lib
/usr/lib/./i686/mmx/libresolv.so.2
/usr/lib/./i686/mmx
/usr/lib/./i686/libresolv.so.2
/usr/lib/./i686
/usr/lib/./mmx/libresolv.so.2
/usr/lib/./mmx
/usr/lib/./libresolv.so.2
/usr/lib/.
/usr/lib/qt/lib/libutil.so.1
/usr/X11R6/lib/libutil.so.1
/usr/lib/./libutil.so.1
/usr/lib/qt/lib/libart_lgpl_2.so.2
/usr/X11R6/lib/libart_lgpl_2.so.2
/usr/lib/./libart_lgpl_2.so.2
/usr/lib/qt/lib/libqt-mt.so.3
/usr/lib/qt/lib/libfontconfig.so.1
/usr/X11R6/lib/libfontconfig.so.1
/usr/lib/qt/lib/libmng.so.1
/usr/X11R6/lib/libmng.so.1
/usr/lib/./libmng.so.1
/usr/lib/qt/lib/libjpeg.so.62
/usr/X11R6/lib/libjpeg.so.62
/usr/lib/./libjpeg.so.62
/usr/lib/qt/lib/libGL.so.1
/usr/X11R6/lib/libGL.so.1
/usr/lib/./libGL.so.1
/usr/lib/qt/lib/libXmu.so.6
/usr/X11R6/lib/libXmu.so.6
/usr/lib/qt/lib/libXrandr.so.2
/usr/X11R6/lib/libXrandr.so.2
/usr/lib/qt/lib/libXinerama.so.1
/usr/X11R6/lib/libXinerama.so.1
/usr/lib/qt/lib/libXft.so.2
/usr/X11R6/lib/libXft.so.2
/usr/lib/qt/lib/libfreetype.so.6
/usr/X11R6/lib/libfreetype.so.6
/usr/lib/./libfreetype.so.6
/usr/lib/qt/lib/libexpat.so.0
/usr/X11R6/lib/libexpat.so.0
/usr/lib/./libexpat.so.0
/usr/lib/qt/lib/libdl.so.2
/usr/X11R6/lib/libdl.so.2
/usr/lib/./libdl.so.2
/usr/lib/qt/lib/libpng.so.3
/usr/X11R6/lib/libpng.so.3
/usr/lib/./libpng.so.3
/usr/lib/qt/lib/libz.so.1
/usr/X11R6/lib/libz.so.1
/usr/lib/./libz.so.1
/usr/lib/qt/lib/libXext.so.6
/usr/X11R6/lib/libXext.so.6
/usr/lib/qt/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6
/usr/lib/qt/lib/libSM.so.6
/usr/X11R6/lib/libSM.so.6
/usr/lib/qt/lib/libICE.so.6
/usr/X11R6/lib/libICE.so.6
/usr/lib/qt/lib/libpthread.so.0
/usr/X11R6/lib/libpthread.so.0
/usr/lib/./libpthread.so.0
/usr/lib/qt/lib/libXrender.so.1
/usr/X11R6/lib/libXrender.so.1
/usr/lib/qt/lib/libstdc++.so.5
/usr/X11R6/lib/libstdc++.so.5
/usr/lib/./libstdc++.so.5
/usr/lib/qt/lib/libm.so.6
/usr/X11R6/lib/libm.so.6
/usr/lib/./libm.so.6
/usr/lib/qt/lib/libgcc_s.so.1
/usr/X11R6/lib/libgcc_s.so.1
/usr/lib/./libgcc_s.so.1
/usr/lib/qt/lib/libc.so.6
/usr/X11R6/lib/libc.so.6
/usr/lib/./libc.so.6
/usr/lib/qt/lib/libGLcore.so.1
/usr/X11R6/lib/libGLcore.so.1
/usr/lib/./libGLcore.so.1
/usr/lib/qt/lib/libnvidia-tls.so.1
/usr/X11R6/lib/libnvidia-tls.so.1
/usr/lib/./libnvidia-tls.so.1
/usr/lib/qt/lib/libXt.so.6
/usr/X11R6/lib/libXt.so.6
/usr/share/fonts/fonts.cache-1
/usr/share/fonts
/usr/share/fonts/fonts.cache-1
/usr/X11R6/lib/X11/fonts/TTF/fonts.cache-1
/usr/X11R6/lib/X11/fonts/TTF
/usr/X11R6/lib/X11/fonts/TTF/fonts.cache-1
/usr/X11R6/lib/X11/fonts/Type1/fonts.cache-1
/usr/X11R6/lib/X11/fonts/Type1
/usr/X11R6/lib/X11/fonts/Type1/fonts.cache-1
/usr/local/share/fonts/fonts.cache-1
/usr/local/share/fonts
/usr/local/share/fonts/fonts.cache-1
/usr/X11R6/lib/X11/fonts/fonts.cache-1
/usr/X11R6/lib/X11/fonts
/usr/X11R6/lib/X11/fonts/fonts.cache-1
/usr/share/fonts/default/fonts.cache-1
/usr/share/fonts/default
/usr/share/fonts/default/fonts.cache-1
/usr/local/share/fonts/cyrillic/fonts.cache-1
/usr/local/share/fonts/cyrillic
/usr/local/share/fonts/cyrillic/fonts.cache-1
/usr/X11R6/lib/X11/fonts/local/fonts.cache-1
/usr/X11R6/lib/X11/fonts/local
/usr/X11R6/lib/X11/fonts/local/fonts.cache-1
/usr/X11R6/lib/X11/fonts/100dpi/fonts.cache-1
/usr/X11R6/lib/X11/fonts/100dpi
/usr/X11R6/lib/X11/fonts/100dpi/fonts.cache-1
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.cache-1
/usr/X11R6/lib/X11/fonts/cyrillic
/usr/X11R6/lib/X11/fonts/cyrillic/fonts.cache-1
/usr/X11R6/lib/X11/fonts/CID/fonts.cache-1
/usr/X11R6/lib/X11/fonts/CID
/usr/X11R6/lib/X11/fonts/CID/fonts.cache-1
/usr/X11R6/lib/X11/fonts/misc/fonts.cache-1
/usr/X11R6/lib/X11/fonts/misc
/usr/X11R6/lib/X11/fonts/misc/fonts.cache-1
/usr/X11R6/lib/X11/fonts/util/fonts.cache-1
/usr/X11R6/lib/X11/fonts/util
/usr/X11R6/lib/X11/fonts/util/fonts.cache-1
/usr/X11R6/lib/X11/fonts/75dpi/fonts.cache-1
/usr/X11R6/lib/X11/fonts/75dpi
/usr/X11R6/lib/X11/fonts/75dpi/fonts.cache-1
/usr/X11R6/lib/X11/fonts/Speedo/fonts.cache-1
/usr/X11R6/lib/X11/fonts/Speedo
/usr/X11R6/lib/X11/fonts/Speedo/fonts.cache-1
/usr/X11R6/lib/X11/fonts/encodings/fonts.cache-1
/usr/X11R6/lib/X11/fonts/encodings
/usr/X11R6/lib/X11/fonts/encodings/fonts.cache-1
/usr/share/fonts/default/Type1/fonts.cache-1
/usr/share/fonts/default/Type1
/usr/share/fonts/default/Type1/fonts.cache-1
/usr/X11R6/lib/X11/fonts/encodings/large/fonts.cache-1
/usr/X11R6/lib/X11/fonts/encodings/large
/usr/X11R6/lib/X11/fonts/encodings/large/fonts.cache-1
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/X11R6/lib/X11/locale/C/XI18N_OBJS
/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/X11R6/lib/X11/locale/C/XLC_LOCALE
/usr/X11R6/lib/X11/locale/C/XLC_LOCALE
/usr/lib/qt/plugins
/usr/local/sbin/kppp
/usr/sbin/kppp
/usr/local/bin/kppp
/usr/bin/kppp
/usr/X11R6/bin/kppp
/usr/games/kppp
/usr/lib/java/bin/kppp
/usr/lib/java/jre/bin/kppp
/usr/lib/qt/plugins/codecs/.
/usr/lib/locale/locale-archive
/usr/share/locale/locale.alias
/usr/lib/locale/ru_RU.KOI8-R/LC_TIME
/usr/lib/locale/ru_RU.koi8r/LC_TIME
/usr/lib/gconv/gconv-modules.cache
/usr/lib/gconv/gconv-modules
/usr/lib/locale/ru_RU.KOI8-R/LC_IDENTIFICATION
/usr/lib/locale/ru_RU.koi8r/LC_IDENTIFICATION
/usr/lib/locale/ru_RU.KOI8-R/LC_MEASUREMENT
/usr/lib/locale/ru_RU.koi8r/LC_MEASUREMENT
/usr/lib/locale/ru_RU.KOI8-R/LC_TELEPHONE
/usr/lib/locale/ru_RU.koi8r/LC_TELEPHONE
/usr/lib/locale/ru_RU.KOI8-R/LC_ADDRESS
/usr/lib/locale/ru_RU.koi8r/LC_ADDRESS
/usr/lib/locale/ru_RU.KOI8-R/LC_NAME
/usr/lib/locale/ru_RU.koi8r/LC_NAME
/usr/lib/locale/ru_RU.KOI8-R/LC_PAPER
/usr/lib/locale/ru_RU.koi8r/LC_PAPER
/usr/lib/locale/ru_RU.KOI8-R/LC_MONETARY
/usr/lib/locale/ru_RU.koi8r/LC_MONETARY
/usr/lib/locale/ru_RU.KOI8-R/LC_COLLATE
/usr/lib/locale/ru_RU.koi8r/LC_COLLATE
/usr/lib/locale/ru_RU.KOI8-R/LC_CTYPE
/usr/lib/locale/ru_RU.koi8r/LC_CTYPE
/usr/lib/qt/etc/settings/qtrc
/usr/lib/qt/etc/settings/qtrc
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/X11R6/lib/X11/locale/koi8-r/XI18N_OBJS
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/X11R6/lib/X11/locale/koi8-r/XLC_LOCALE
/usr/X11R6/lib/X11/locale/koi8-r/XLC_LOCALE
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/X11R6/lib/X11/locale/compose.dir
/usr/X11R6/lib/X11/locale/koi8-r/Compose
/usr/X11R6/lib/X11/locale/koi8-r/Compose
/usr/X11R6/lib/X11/locale/compose.dir
/usr/X11R6/lib/X11/locale/koi8-r/Compose
/usr/X11R6/lib/X11/locale/koi8-r/Compose
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/X11R6/lib/X11/locale/compose.dir
/usr/X11R6/lib/X11/locale/koi8-r/Compose
/usr/X11R6/lib/X11/locale/koi8-r/Compose
/usr/X11R6/lib/X11/locale/compose.dir
/usr/X11R6/lib/X11/locale/koi8-r/Compose
/usr/X11R6/lib/X11/locale/koi8-r/Compose
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/lib/qt/plugins/styles/.
/usr/lib/qt/plugins/styles
/usr/lib/qt/plugins/styles/libqcompactstyle.so
/usr/lib/qt/plugins/styles/libqmotifplusstyle.so
/usr/lib/qt/plugins/styles/libqplatinumstyle.so
/usr/lib/qt/plugins/styles/libqsgistyle.so
/usr/lib/qt/plugins/styles/libqcdestyle.so
/usr/lib/qt/plugins/styles/libqwindowsstyle.so
/usr/lib/qt/etc/settings/qt_plugins_3.3rc
/usr/lib/qt/etc/settings/kstylerc
/usr/lib/qt/etc/settings/qtrc
/usr/lib/qt/etc/settings/lipstikstylerc
/usr/lib/qt/lib/libXcursor.so.1.0.2
/usr/X11R6/lib/libXcursor.so.1.0.2
/usr/share/icons/default/cursors/left_ptr
/usr/share/icons/default/index.theme
/usr/share/pixmaps/default/cursors/left_ptr
/usr/share/pixmaps/default/index.theme
/usr/X11R6/lib/X11/icons/default/cursors/left_ptr
/usr/X11R6/lib/X11/icons/default/index.theme
/usr/share/icons/blue/cursors/left_ptr
/usr/share/icons/blue/index.theme
/usr/share/pixmaps/blue/cursors/left_ptr
/usr/share/pixmaps/blue/index.theme
/usr/X11R6/lib/X11/icons/blue/cursors/left_ptr
/usr/sbin/pppd
/usr/X11R6/lib/X11/fonts/TTF/Vera.ttf
/usr/local/share/fonts/cyrillic/verdana.ttf
/usr/share/icons/default/cursors/xterm
/usr/share/icons/default/index.theme
/usr/share/pixmaps/default/cursors/xterm
/usr/share/pixmaps/default/index.theme
/usr/X11R6/lib/X11/icons/default/cursors/xterm
/usr/X11R6/lib/X11/icons/default/index.theme
/usr/share/icons/blue/cursors/xterm
/usr/share/icons/blue/index.theme
/usr/share/pixmaps/blue/cursors/xterm
/usr/share/pixmaps/blue/index.theme
/usr/X11R6/lib/X11/icons/blue/cursors/xterm
/usr/lib/qt/plugins/imageformats/.
/usr/lib/qt/lib/libnss_compat.so.2
/usr/X11R6/lib/libnss_compat.so.2
/usr/lib/./libnss_compat.so.2
/usr/lib/qt/lib/libnsl.so.1
/usr/X11R6/lib/libnsl.so.1
/usr/lib/./libnsl.so.1
/usr/X11R6/lib/X11/fonts/TTF/VeraBd.ttf
/usr/X11R6/lib/X11/locale/locale.alias
/usr/X11R6/lib/X11/locale/locale.dir
/usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
/usr/sbin/pppd
It's just to know what an app needs to work properly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP include() file paths in Apache virtual hosts tawalker Linux - Software 0 09-23-2004 03:16 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 08:45 AM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 11:15 PM
file paths Mahoot Linux - Newbie 3 09-02-2003 12:48 PM
Resolving file paths... ugenn Programming 3 10-01-2002 03:27 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration