Search Results

Search: Posts Made By: inkjoy00
2,772
Posted By inkjoy00
Sorry. I didn't fully write the code. It should...
Sorry. I didn't fully write the code. It should delete all "/* */" in the file_name.c


#!/bin/bash

read "cat file" // User will input command cat file_name.c
if [ '$file == $file.c ]; // Must...
2,772
Posted By inkjoy00
BASH Shell Scripting: If, Then Statement
I'm having trouble trying to create a BASH shell script.

I want the user to input a command "cat file_name.c" and then the shell script will delete all comments "/* */" from file_name.c else...
Showing results 1 to 2 of 2

 

Featured Tech Videos

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