Search Results

Search: Posts Made By: grep_me
2,397
Posted By grep_me
source is command to execute other shell...
source is command to execute other shell commands, so if you say
source foo
it will try to run the command foo (alias in this case)
If foo is a script why are you using source command to run...
4,459
Posted By grep_me
try this: This will remove all the spaces and...
try this: This will remove all the spaces and replace it with an underscore and then rename them

ls -1 "t_ "* | while read filename ; do flnm=`echo "$filename" | tr -s " " "_"`; cp "$filename"...
4,637
Posted By grep_me
Use this code. Just one line would do the job for...
Use this code. Just one line would do the job for you
nawk 'c-->0;$0~s{if(b)for(c=b+1;c>1;c--)print r[(NR-c+1)%b];print;c=a}b{r[NR%b]=$0}' b=2 a=0 s="comp" file.txt

You can change the "b" and...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 01:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy