Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8d07f267 in mainline


Ignore:
Timestamp:
2020-11-04T20:22:25Z (3 weeks ago)
Author:
parth-27 <parth1020patel@…>
Children:
158e972
Parents:
0564ee47
Message:

grep command added

Location:
uspace/app/bdsh
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/clear/clear.c

    r0564ee47 r8d07f267  
    2929
    3030        /* Count the arguments */
    31         for (argc = 0; argv[argc] != NULL; argc++)
    32                 ;
     31        for (argc = 0; argv[argc] != NULL; argc++);
    3332
    3433        // printf("%s %s\n", TEST_ANNOUNCE, cmdname);
  • uspace/app/bdsh/cmds/modules/modules.c

    r0564ee47 r8d07f267  
    6565#include "alias/entry.h"
    6666#include "unalias/entry.h"
     67#include "clear/entry.h"
     68#include "basename/entry.h"
     69#include "grep/entry.h"
    6770
    6871/*
     
    9295#include "alias/alias_def.inc"
    9396#include "unalias/unalias_def.inc"
     97#include "clear/clear_def.inc"
     98#include "basename/basename_def.inc"
     99#include "grep/grep_def.inc"
    94100
    95101        { NULL, NULL, NULL, NULL }
  • uspace/app/bdsh/meson.build

    r0564ee47 r8d07f267  
    5959        'cmds/modules/unalias/unalias.c',
    6060        'cmds/modules/unmount/unmount.c',
     61        'cmds/modules/clear/clear.c',
     62        'cmds/modules/basename/basename.c',
     63        'cmds/modules/grep/grep.c',
    6164        'compl.c',
    6265        'errors.c',
Note: See TracChangeset for help on using the changeset viewer.