- Timestamp:
- Jun 25, 2006, 4:41:57 AM (19 years ago)
- Location:
- branches/stable/mondo/mondo
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-archive.c
r541 r681 1897 1897 log_to_screen("%s...OK", message_to_screen); 1898 1898 if (!run_program_and_log_output 1899 ("tail -n10 /var/log/mondo-archive.log | fgrep':-('",1899 ("tail -n10 /var/log/mondo-archive.log | grep -F ':-('", 1900 1900 1)) { 1901 1901 log_to_screen -
branches/stable/mondo/mondo/common/libmondo-devices.c
r680 r681 525 525 return 526 526 !system 527 ("parted2fdisk -l 2>/dev/null | grep '^/dev/' | egrep -qv '(MS|DOS|FAT|NTFS)'");527 ("parted2fdisk -l 2>/dev/null | grep '^/dev/' | grep -Eqv '(MS|DOS|FAT|NTFS)'"); 528 528 #endif 529 529 } -
branches/stable/mondo/mondo/common/libmondo-fifo.c
r667 r681 242 242 paranoid_system("sync"); 243 243 sprintf(command, 244 "ps wwax | fgrep \"%s\" | fgrep -v grep | awk '{print $1;}' | grep -v PID | tr -s '\n' ' ' | awk '{ print $1; }'",244 "ps wwax | grep -F \"%s\" | grep -Fv grep | awk '{print $1;}' | grep -v PID | tr -s '\n' ' ' | awk '{ print $1; }'", 245 245 g_sz_call_to_buffer); 246 246 log_msg(2, "kill_buffer() --- command = %s", command); -
branches/stable/mondo/mondo/common/libmondo-filelist.c
r676 r681 1546 1546 { 1547 1547 sprintf(find_skeleton_marker, 1548 " fgrep -v \"%s\" %s > %s.new 2> /dev/null", dir,1548 "grep -Fv \"%s\" %s > %s.new 2> /dev/null", dir, 1549 1549 g_skeleton_filelist, g_skeleton_filelist); 1550 1550 // log_msg(0, "fsm = %s", find_skeleton_marker); -
branches/stable/mondo/mondo/common/libmondo-files.c
r662 r681 520 520 if (i < 0) { 521 521 sprintf(command, 522 "tail -n3 %s | fgrep -i \"%c\" | tail -n1 | awk '{print $0;}'",522 "tail -n3 %s | grep -Fi \"%c\" | tail -n1 | awk '{print $0;}'", 523 523 filename, '%'); 524 524 strcpy(lastline, -
branches/stable/mondo/mondo/mondoarchive/mondo-cli.c
r633 r681 920 920 && 921 921 !run_program_and_log_output 922 (" egrep -i suse /etc/issue.net | egrep'9.0' | grep 64", TRUE)) {922 ("grep -Ei suse /etc/issue.net | grep -E '9.0' | grep 64", TRUE)) { 923 923 bkpinfo->make_cd_use_lilo = TRUE; 924 924 log_to_screen -
branches/stable/mondo/mondo/mondorestore/mondo-prep.c
r558 r681 1819 1819 log_msg(0, 1820 1820 "------------------- end of fdisk.log... word! ------------------"); 1821 sprintf(tmp, "tail -n6 %s | fgrep\"16: \"", FDISK_LOG);1821 sprintf(tmp, "tail -n6 %s | grep -F \"16: \"", FDISK_LOG); 1822 1822 if (!run_program_and_log_output(tmp, 5)) { 1823 1823 g_partition_table_locked_up++; -
branches/stable/mondo/mondo/mondorestore/mondo-rstr-tools.c
r558 r681 720 720 } 721 721 722 if (!run_program_and_log_output("mount | fgrep" MNT_CDROM, FALSE)) {722 if (!run_program_and_log_output("mount | grep -F " MNT_CDROM, FALSE)) { 723 723 log_msg(2, "mount_cdrom() - CD already mounted. Fair enough."); 724 724 paranoid_free(mount_cmd);
Note:
See TracChangeset
for help on using the changeset viewer.