Search Results

Search: Posts Made By: frappa
2,555
Posted By alister
No. It will remove trailing spaces (if present)...
No. It will remove trailing spaces (if present) only in the second field. The first field will always match, since the spaces are optional (there is only one space in my regular expression). The...
15,133
Posted By Scrutinizer
Try: for i in FILE1*; do mv "$i"...
Try:
for i in FILE1*; do
mv "$i" "FILE2${i#FILE1}"
done
3,675
Posted By agama
The -c option on your tar command is causing a...
The -c option on your tar command is causing a new file to be created with each invocation. When there are more files in your input file than can be placed on the command line xargs will invoke tar...
7,752
Posted By birei
Hi boaz733, One way using 'perl': $...
Hi boaz733,

One way using 'perl':

$ perl -ne 'if ( /2012\/01\/02 12:00:07/ .. /2012\/01\/03 12:00:08/ ) { print }' infile
result.log.00:2012/01/02 12:00:07.422 LOG STARTED HERE
...
129,178
Posted By michelle_denise
If you have a core file and you have compiled the...
If you have a core file and you have compiled the program with debuging options (-g), you can see where the core was dumped:
$ gcc -g -o something something.c $ ./something Segmentation fault...
Showing results 1 to 5 of 5

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